mirror of
https://github.com/babalae/better-genshin-impact.git
synced 2026-05-21 09:45:48 +08:00
想打完每日再亲自过一下剧情。。。。 (#3115)
This commit is contained in:
@@ -229,7 +229,7 @@ public partial class OneDragonFlowViewModel : ViewModel
|
||||
|
||||
[ObservableProperty] private List<string> _domainNameList = ["", ..MapLazyAssets.Instance.DomainNameList];
|
||||
|
||||
[ObservableProperty] private List<string> _completionActionList = ["无", "关闭游戏", "关闭游戏和软件", "关机"];
|
||||
[ObservableProperty] private List<string> _completionActionList = ["无", "关闭游戏", "关闭软件", "关闭游戏和软件", "关机"];
|
||||
|
||||
[ObservableProperty] private List<string> _sundayEverySelectedValueList = ["","1", "2", "3"];
|
||||
|
||||
@@ -650,6 +650,9 @@ public partial class OneDragonFlowViewModel : ViewModel
|
||||
case "关闭游戏":
|
||||
SystemControl.CloseGame();
|
||||
break;
|
||||
case "关闭软件":
|
||||
Application.Current.Dispatcher.Invoke(() => { Application.Current.Shutdown(); });
|
||||
break;
|
||||
case "关闭游戏和软件":
|
||||
SystemControl.CloseGame();
|
||||
Application.Current.Dispatcher.Invoke(() => { Application.Current.Shutdown(); });
|
||||
@@ -820,4 +823,4 @@ public partial class OneDragonFlowViewModel : ViewModel
|
||||
Toast.Error("重命名配置时失败");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user