summaryrefslogtreecommitdiff
path: root/services
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-09-17 00:08:57 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-09-17 00:08:57 +1000
commit542495c74faff1285fa7371d2e5cbb2e5294ef9d (patch)
tree8a47a5d1012138baf319a481bf42d0304327057f /services
parentplugin: delete -> deleteLater (diff)
downloadcaelestia-shell-542495c74faff1285fa7371d2e5cbb2e5294ef9d.tar.gz
caelestia-shell-542495c74faff1285fa7371d2e5cbb2e5294ef9d.tar.bz2
caelestia-shell-542495c74faff1285fa7371d2e5cbb2e5294ef9d.zip
notifs: fix dnd
Diffstat (limited to 'services')
-rw-r--r--services/Notifs.qml9
1 files changed, 4 insertions, 5 deletions
diff --git a/services/Notifs.qml b/services/Notifs.qml
index 46b13a5..7326198 100644
--- a/services/Notifs.qml
+++ b/services/Notifs.qml
@@ -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
+ }));
}
}