mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-01 01:10:34 +08:00
fix: 修复未开启系统通知时进行系统通知检查
This commit is contained in:
@@ -97,6 +97,11 @@ public class RootViewModel : Conductor<Screen>.Collection.OneActive
|
||||
|
||||
private static void ToastNotificationCheck()
|
||||
{
|
||||
if (!SettingsViewModel.GuiSettings.UseNotify)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
var (isAvailable, detail) = ToastNotification.ToastNotificationCheck();
|
||||
if (!isAvailable)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user