Tier 0: render what the services already decided, honestly
Claude-Session: https://claude.ai/code/session_01Ms2FbjQy31TVf3CEvQhGM8
This commit is contained in:
@@ -12,7 +12,13 @@ import qs.services
|
||||
PanelWindow {
|
||||
id: root
|
||||
|
||||
visible: !Notifs.doNotDisturb && Notifs.popups.length > 0
|
||||
// Whether a notification is allowed to be a banner is decided once, in
|
||||
// Notifs.handleNotification: a focus mode's allow-list and the
|
||||
// critical-breakthrough switch are both exceptions to Do Not Disturb, and
|
||||
// anything they let past is already in `popups`. Re-testing doNotDisturb
|
||||
// here would override that three-way decision and leave an allowed app
|
||||
// chiming at an empty screen.
|
||||
visible: Notifs.popups.length > 0
|
||||
color: "transparent"
|
||||
|
||||
anchors.top: true
|
||||
|
||||
Reference in New Issue
Block a user