mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-19 18:47:55 +08:00
fix.修正了在配置文件启用而实际不支持Windows 推送通知的逻辑判断。
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
<CheckBox
|
||||
x:Name="usesystemnote" Content="使用Windows系统推送通知(支持Win10/Win11)" HorizontalAlignment="Left"
|
||||
Margin="10,0,0,0" VerticalAlignment="Center"
|
||||
IsChecked="{c:Binding ToastUsingSystem}"
|
||||
IsChecked="{Binding ToastUsingSystem}"
|
||||
Visibility="{c:Binding ToastOS, FalseToVisibility=Collapsed}"
|
||||
Height="20" Width="450"/>
|
||||
|
||||
|
||||
@@ -592,8 +592,8 @@ namespace MeoAsstGui
|
||||
get { return _toastUsingSystem; }
|
||||
set
|
||||
{
|
||||
SetAndNotify(ref _toastUsingSystem, value);
|
||||
ViewStatusStorage.Set("Toast.UsingSystem", value.ToString());
|
||||
SetAndNotify(ref _toastUsingSystem, value && ToastOS);
|
||||
ViewStatusStorage.Set("Toast.UsingSystem", (value && ToastOS).ToString());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user