From e9acecf0deada4b3adb54000900d26b40fa1d930 Mon Sep 17 00:00:00 2001 From: Michael Date: Sun, 26 Feb 2017 17:50:57 -0500 Subject: [PATCH] make most recent notification appear at top --- ShiftOS.WinForms/Applications/Notifications.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(NotificationDaemon.GetAllFromFile()).OrderByDescending(n => n.Timestamp)) { if (note.Read == false) {