make most recent notification appear at top
This commit is contained in:
parent
868a549292
commit
e9acecf0de
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Reference in a new issue