From 04732abbc89834437499f20950e198f98530fb5a Mon Sep 17 00:00:00 2001 From: Kat Inskip Date: Sun, 7 Dec 2025 18:58:18 -0800 Subject: [PATCH] fix: make clearing work --- quickshell/DataSources/Notifications.qml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/quickshell/DataSources/Notifications.qml b/quickshell/DataSources/Notifications.qml index 323e5d1a..e8507ad2 100644 --- a/quickshell/DataSources/Notifications.qml +++ b/quickshell/DataSources/Notifications.qml @@ -23,10 +23,11 @@ Singleton { for (const notification of notificationServer.trackedNotifications.values) { notification.tracked = false; } + list.length = 0; } // TODO: use signal - property list list: notificationServer.trackedNotifications.values.filter(notification => notification.tracked) + property list list: notificationServer.trackedNotifications.values.filter(notification => notification.tracked).reverse() signal notification(Notification notification) IpcHandler {