Adjust alert role and volume, increase notification urgency
This commit is contained in:
parent
7d2e964e5a
commit
0eb199de67
1 changed files with 5 additions and 4 deletions
|
@ -38,16 +38,16 @@ Page {
|
||||||
|
|
||||||
MediaPlayer {
|
MediaPlayer {
|
||||||
id: alertLow
|
id: alertLow
|
||||||
audioRole: MediaPlayer.AlarmRole
|
audioRole: MediaPlayer.NotificationRole
|
||||||
volume: 0.5
|
volume: 0.6
|
||||||
autoLoad: true
|
autoLoad: true
|
||||||
source: settings.lowAlertFile
|
source: settings.lowAlertFile
|
||||||
}
|
}
|
||||||
|
|
||||||
MediaPlayer {
|
MediaPlayer {
|
||||||
id: alertHigh
|
id: alertHigh
|
||||||
audioRole: MediaPlayer.AlarmRole
|
audioRole: MediaPlayer.NotificationRole
|
||||||
volume: 0.5
|
volume: 0.6
|
||||||
autoLoad: true
|
autoLoad: true
|
||||||
source: settings.highAlertFile
|
source: settings.highAlertFile
|
||||||
}
|
}
|
||||||
|
@ -61,6 +61,7 @@ Page {
|
||||||
body: test ? qsTr("This is a test.") : battery.charging ? qsTr("Please disconnect the charger.") : qsTr("Please connect the charger.")
|
body: test ? qsTr("This is a test.") : battery.charging ? qsTr("Please disconnect the charger.") : qsTr("Please connect the charger.")
|
||||||
previewSummary: summary
|
previewSummary: summary
|
||||||
previewBody: body
|
previewBody: body
|
||||||
|
urgency: Notification.Critical
|
||||||
}
|
}
|
||||||
|
|
||||||
Timer {
|
Timer {
|
||||||
|
|
Loading…
Reference in a new issue