feat(notifs): handle transient notifications properly

Transient notifications are not persistently shown in the dashboard, and
thus permanently expire after their timer runs out.
This commit is contained in:
Kiana Sheibani 2025-10-08 13:07:06 -04:00
parent 3bb5e10d4d
commit a9dab6189d
Signed by: toki
GPG key ID: 6CB106C25E86A9F7
3 changed files with 22 additions and 17 deletions

View file

@ -76,7 +76,7 @@ CustomRect {
if (Math.abs(root.x) < Config.notifs.width * Config.notifs.clearThreshold)
root.x = 0;
else if (root.inPopup)
root.notif.popup = null;
root.notif.clear();
else
root.notif.notification.dismiss();
}