notifs: fix dnd

This commit is contained in:
2 * r + 2 * t 2025-09-17 00:08:57 +10:00
parent e29275df0e
commit 542495c74f

View file

@ -36,9 +36,8 @@ Singleton {
onNotification: notif => { onNotification: notif => {
notif.tracked = true; notif.tracked = true;
if (!props.dnd)
root.list.push(notifComp.createObject(root, { root.list.push(notifComp.createObject(root, {
popup: true, popup: !props.dnd,
notification: notif notification: notif
})); }));
} }