diff options
| author | Michael <[email protected]> | 2017-02-26 17:50:57 -0500 |
|---|---|---|
| committer | Michael <[email protected]> | 2017-02-26 17:50:57 -0500 |
| commit | e9acecf0deada4b3adb54000900d26b40fa1d930 (patch) | |
| tree | 01de997c104f0ea315140274322a9a1cdbf8b10e | |
| parent | 868a5492927ddf093eb30df531031406e96f70f2 (diff) | |
| download | shiftos_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.cs | 2 |
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) { |
