fix: make clearing work

This commit is contained in:
Kat Inskip 2025-12-07 18:58:18 -08:00
parent c98690fa63
commit 04732abbc8
Signed by: kat
GPG key ID: 465E64DECEA8CF0F

View file

@ -23,10 +23,11 @@ Singleton {
for (const notification of notificationServer.trackedNotifications.values) { for (const notification of notificationServer.trackedNotifications.values) {
notification.tracked = false; notification.tracked = false;
} }
list.length = 0;
} }
// TODO: use signal // TODO: use signal
property list<Notification> list: notificationServer.trackedNotifications.values.filter(notification => notification.tracked) property list<Notification> list: notificationServer.trackedNotifications.values.filter(notification => notification.tracked).reverse()
signal notification(Notification notification) signal notification(Notification notification)
IpcHandler { IpcHandler {