fix: make clearNotifs and dismissNotifs do different things

This commit is contained in:
Kiana Sheibani 2025-10-08 00:02:14 -04:00
parent b81b90ed7b
commit 7c90710bf6
Signed by: toki
GPG key ID: 6CB106C25E86A9F7

View file

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