mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-16 09:50:40 +08:00
rft: Wpf唤醒任务序列化
This commit is contained in:
@@ -27,13 +27,14 @@ public class StartUpSettingsUserControlModel : TaskViewModel
|
||||
|
||||
public static StartUpSettingsUserControlModel Instance { get; }
|
||||
|
||||
private string _accountName = ConfigurationHelper.GetValue(ConfigurationKeys.AccountName, string.Empty);
|
||||
private string _accountName = ConfigurationHelper.GetValue(ConfigurationKeys.AccountName, string.Empty).Trim();
|
||||
|
||||
public string AccountName
|
||||
{
|
||||
get => _accountName;
|
||||
set
|
||||
{
|
||||
value = value.Trim();
|
||||
SetAndNotify(ref _accountName, value);
|
||||
ConfigurationHelper.SetValue(ConfigurationKeys.AccountName, value);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user