make most recent notification appear at top

This commit is contained in:
Michael 2017-02-26 17:50:57 -05:00
parent 868a549292
commit e9acecf0de

View file

@ -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)
{