Fix clicks
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user