fix: 修复未开启系统通知时进行系统通知检查

This commit is contained in:
uye
2026-06-30 12:58:43 +08:00
parent 55668face3
commit 7311dab428

View File

@@ -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)
{