mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-18 10:10:45 +08:00
fix: 在关闭系统通知后无法收到通知信息
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user