From e2ca5a4e8fbbe2144364797950f434f1edeaa405 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Sat, 20 Sep 2025 16:28:46 +1000 Subject: sidebar/notifs: fix group sorting --- modules/sidebar/NotifDockList.qml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/modules/sidebar/NotifDockList.qml b/modules/sidebar/NotifDockList.qml index 33a9306..dbb5092 100644 --- a/modules/sidebar/NotifDockList.qml +++ b/modules/sidebar/NotifDockList.qml @@ -28,8 +28,12 @@ Item { model: ScriptModel { values: { - const list = Notifs.list.map(n => [n.appName, null]); - return [...new Map(list).keys()]; + const map = new Map(); + for (const n of Notifs.notClosed) + map.set(n.appName, null); + for (const n of Notifs.list) + map.set(n.appName, null); + return [...map.keys()]; } onValuesChanged: root.flagChanged() } -- cgit v1.2.3-freya