1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2025-12-09 23:15:38 -05:00

notifs/dock on TopLayer

This commit is contained in:
bbedward
2025-08-05 07:22:33 -04:00
parent 16e3b18e8e
commit 7021061ffd
4 changed files with 12 additions and 10 deletions

View File

@@ -310,8 +310,8 @@ Singleton {
}
return Object.values(groups).sort((a, b) => {
const aUrgency = a.latestNotification.urgency || 0;
const bUrgency = b.latestNotification.urgency || 0;
const aUrgency = a.latestNotification.urgency || NotificationUrgency.Low;
const bUrgency = b.latestNotification.urgency || NotificationUrgency.Low;
if (aUrgency !== bUrgency) {
return bUrgency - aUrgency;
}