From 7c90710bf66973c2a5e7bece0621da4eb6d682b2 Mon Sep 17 00:00:00 2001 From: Kiana Sheibani Date: Wed, 8 Oct 2025 00:02:14 -0400 Subject: [PATCH] fix: make `clearNotifs` and `dismissNotifs` do different things --- services/Notifs.qml | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/services/Notifs.qml b/services/Notifs.qml index 52a20ca..decc95e 100644 --- a/services/Notifs.qml +++ b/services/Notifs.qml @@ -54,16 +54,7 @@ Singleton { description: "Dismiss all notifications" onPressed: { for (const notif of root.list) - notif.popup = null; - } - } - - IpcHandler { - target: "notifs" - - function clear(): void { - for (const notif of root.list) - notif.popup = null; + notif.notification.dismiss(); } }