From dc8d8e89e4da4af545cb41ee29bd2d4048db5c4e Mon Sep 17 00:00:00 2001 From: MistEO Date: Wed, 29 Jun 2022 22:04:49 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E6=89=98=E7=9B=98?= =?UTF-8?q?=E8=AE=BE=E7=BD=AE=E4=B8=8D=E4=BF=9D=E5=AD=98=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit https://github.com/MaaAssistantArknights/MaaAssistantArknights/issues/1001 --- src/MeoAsstGui/ViewModels/SettingsViewModel.cs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/MeoAsstGui/ViewModels/SettingsViewModel.cs b/src/MeoAsstGui/ViewModels/SettingsViewModel.cs index be0440e633..7b49f388c0 100644 --- a/src/MeoAsstGui/ViewModels/SettingsViewModel.cs +++ b/src/MeoAsstGui/ViewModels/SettingsViewModel.cs @@ -600,6 +600,7 @@ namespace MeoAsstGui ViewStatusStorage.Set("Timer.Timer5", value.ToString()); } } + public bool Timer6 { get { return _timer6; } @@ -609,6 +610,7 @@ namespace MeoAsstGui ViewStatusStorage.Set("Timer.Timer6", value.ToString()); } } + public bool Timer7 { get { return _timer7; } @@ -618,6 +620,7 @@ namespace MeoAsstGui ViewStatusStorage.Set("Timer.Timer7", value.ToString()); } } + public bool Timer8 { get { return _timer8; } @@ -1362,7 +1365,7 @@ namespace MeoAsstGui set { SetAndNotify(ref _usetray, value); - ViewStatusStorage.Set("UseTray", value.ToString()); + ViewStatusStorage.Set("Tray.UseTray", value.ToString()); var trayObj = _container.Get(); trayObj.SetVisible(value); @@ -1381,7 +1384,7 @@ namespace MeoAsstGui set { SetAndNotify(ref _minimizeToTray, value); - ViewStatusStorage.Set("MinimizeToTray", value.ToString()); + ViewStatusStorage.Set("Tray.MinimizeToTray", value.ToString()); var trayObj = _container.Get(); trayObj.SetMinimizeToTaskbar(value); }