aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS_TheReturn
diff options
context:
space:
mode:
Diffstat (limited to 'ShiftOS_TheReturn')
-rw-r--r--ShiftOS_TheReturn/NotificationDaemon.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/ShiftOS_TheReturn/NotificationDaemon.cs b/ShiftOS_TheReturn/NotificationDaemon.cs
index 3ea8a54..c6ba90a 100644
--- a/ShiftOS_TheReturn/NotificationDaemon.cs
+++ b/ShiftOS_TheReturn/NotificationDaemon.cs
@@ -35,6 +35,7 @@ namespace ShiftOS.Engine
NotificationMade?.Invoke(lst[lst.Count - 1]);
}
+ public static event Action NotificationRead;
public static void MarkRead(int note)
{
@@ -44,6 +45,7 @@ namespace ShiftOS.Engine
notes[note].Read = true;
WriteNotes(notes);
+ NotificationRead?.Invoke();
}
public static int GetUnreadCount()