fix: make clearNotifs and dismissNotifs do different things
This commit is contained in:
parent
b81b90ed7b
commit
7c90710bf6
1 changed files with 1 additions and 10 deletions
|
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue