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,11 +36,10 @@ Singleton {
onNotification: notif => {
notif.tracked = true;
if (!props.dnd)
root.list.push(notifComp.createObject(root, {
popup: true,
notification: notif
}));
root.list.push(notifComp.createObject(root, {
popup: !props.dnd,
notification: notif
}));
}
}