Fix clicks

This commit is contained in:
David Heinemeier Hansson
2026-05-24 15:44:38 +02:00
parent d6113e5133
commit cac3342868
2 changed files with 9 additions and 2 deletions
+3 -1
View File
@@ -5,7 +5,9 @@ import qs.Ui
BarIndicator {
id: root
readonly property var notificationService: bar.shell.firstPartyServiceFor("omarchy.notifications")
readonly property var notificationService: bar && bar.shell && typeof bar.shell.firstPartyServiceFor === "function"
? bar.shell.firstPartyServiceFor("omarchy.notifications")
: null
readonly property bool dnd: notificationService ? notificationService.doNotDisturb : false
active: dnd