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(); } }