mirror of
https://git.alee14.me/shiftos-archive/ShiftOS_TheReturn.git
synced 2025-01-22 18:02:16 +00:00
Fix notification bug.
This commit is contained in:
parent
5f0cfb100c
commit
2ff2613287
1 changed files with 4 additions and 2 deletions
|
@ -63,8 +63,10 @@ namespace ShiftOS.WinForms
|
|||
NotificationDaemon.NotificationMade += (note) =>
|
||||
{
|
||||
//Soon this will pop a balloon note.
|
||||
btnnotifications.Text = "Notifications (" + NotificationDaemon.GetUnreadCount().ToString() + ")";
|
||||
|
||||
this.Invoke(new Action(() =>
|
||||
{
|
||||
btnnotifications.Text = "Notifications (" + NotificationDaemon.GetUnreadCount().ToString() + ")";
|
||||
}));
|
||||
};
|
||||
|
||||
NotificationDaemon.NotificationRead += () =>
|
||||
|
|
Loading…
Reference in a new issue