From 0eb199de67ef74be8f8d08159924f65db456239f Mon Sep 17 00:00:00 2001 From: Matti Viljanen Date: Tue, 29 Jan 2019 01:28:44 +0200 Subject: [PATCH] Adjust alert role and volume, increase notification urgency --- qml/pages/MainPage.qml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/qml/pages/MainPage.qml b/qml/pages/MainPage.qml index aa4bffd..9b265b9 100644 --- a/qml/pages/MainPage.qml +++ b/qml/pages/MainPage.qml @@ -38,16 +38,16 @@ Page { MediaPlayer { id: alertLow - audioRole: MediaPlayer.AlarmRole - volume: 0.5 + audioRole: MediaPlayer.NotificationRole + volume: 0.6 autoLoad: true source: settings.lowAlertFile } MediaPlayer { id: alertHigh - audioRole: MediaPlayer.AlarmRole - volume: 0.5 + audioRole: MediaPlayer.NotificationRole + volume: 0.6 autoLoad: true 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.") previewSummary: summary previewBody: body + urgency: Notification.Critical } Timer {