aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael <[email protected]>2017-02-26 17:50:57 -0500
committerMichael <[email protected]>2017-02-26 17:50:57 -0500
commite9acecf0deada4b3adb54000900d26b40fa1d930 (patch)
tree01de997c104f0ea315140274322a9a1cdbf8b10e
parent868a5492927ddf093eb30df531031406e96f70f2 (diff)
downloadshiftos_thereturn-e9acecf0deada4b3adb54000900d26b40fa1d930.tar.gz
shiftos_thereturn-e9acecf0deada4b3adb54000900d26b40fa1d930.tar.bz2
shiftos_thereturn-e9acecf0deada4b3adb54000900d26b40fa1d930.zip
make most recent notification appear at top
-rw-r--r--ShiftOS.WinForms/Applications/Notifications.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/ShiftOS.WinForms/Applications/Notifications.cs b/ShiftOS.WinForms/Applications/Notifications.cs
index 3ce3e58..9ed3587 100644
--- a/ShiftOS.WinForms/Applications/Notifications.cs
+++ b/ShiftOS.WinForms/Applications/Notifications.cs
@@ -32,7 +32,7 @@ namespace ShiftOS.WinForms.Applications
fllist.Controls.Clear();
bool showNoNotes = true;
- foreach (var note in NotificationDaemon.GetAllFromFile())
+ foreach (var note in new List<Notification>(NotificationDaemon.GetAllFromFile()).OrderByDescending(n => n.Timestamp))
{
if (note.Read == false)
{