Bound the notification app list, and give Focus a real editor
Claude-Session: https://claude.ai/code/session_01Ms2FbjQy31TVf3CEvQhGM8
This commit is contained in:
@@ -56,6 +56,11 @@ Rectangle {
|
||||
|
||||
// Critical notifications get a red edge rather than a color wash, so the
|
||||
// text contrast never changes.
|
||||
//
|
||||
// Read through Notifs.effectiveUrgency rather than off the notification, so
|
||||
// an application the rules treat as critical is marked here too -- and one
|
||||
// demoted to low is not. The bell, the popup timeout and the Do Not Disturb
|
||||
// breakthrough all ask the same question the same way.
|
||||
Rectangle {
|
||||
anchors.left: parent.left
|
||||
anchors.top: parent.top
|
||||
@@ -65,7 +70,7 @@ Rectangle {
|
||||
radius: 1.5
|
||||
border.width: 0
|
||||
color: Theme.urgent
|
||||
visible: root.notification.urgency === NotificationUrgency.Critical
|
||||
visible: Notifs.effectiveUrgency(root.notification) === NotificationUrgency.Critical
|
||||
}
|
||||
|
||||
readonly property var defaultAction: {
|
||||
|
||||
Reference in New Issue
Block a user