Tweak urgencies

This commit is contained in:
David Heinemeier Hansson
2026-05-17 17:29:52 +02:00
parent 8ad2f75758
commit 048efdb10e
@@ -118,9 +118,14 @@ Item {
readonly property int historyCap: 100 readonly property int historyCap: 100
function durationFor(urgency) { function durationFor(urgency) {
if (urgency === NotificationUrgency.Critical) return 0 switch (urgency) {
if (urgency === NotificationUrgency.Low) return 3000 case NotificationUrgency.Critical:
return 6000 return 0
case NotificationUrgency.Low:
return 3000
default:
return 5000
}
} }
// DND bypass: only let through notifications we trust to be intentional // DND bypass: only let through notifications we trust to be intentional