fix: 在关闭系统通知后无法收到通知信息

This commit is contained in:
uye
2025-04-18 15:15:44 +08:00
parent 6bcd8d79da
commit a1a0f9bef7

View File

@@ -21,6 +21,8 @@ using System.Media;
using System.Runtime.InteropServices;
using System.Text;
using System.Windows.Interop;
using HandyControl.Controls;
using HandyControl.Data;
using MaaWpfGui.Configuration;
using MaaWpfGui.Helper.Notification;
using MaaWpfGui.WineCompat;
@@ -310,6 +312,7 @@ namespace MaaWpfGui.Helper
// TODO: 整理过时代码
if (!ConfigFactory.Root.GUI.UseNotify)
{
Growl.Info(_notificationTitle + _contentCollection);
return;
}