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:
parent
3bb5e10d4d
commit
a9dab6189d
3 changed files with 22 additions and 17 deletions
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue