summaryrefslogtreecommitdiff
path: root/app/qml/pages/ManagerPage.qml
diff options
context:
space:
mode:
authorTomasz Sterna <tomek@xiaoka.com>2015-04-19 18:49:07 +0200
committerTomasz Sterna <tomek@xiaoka.com>2015-04-19 18:49:07 +0200
commit929fc1263bf54df5120c8551a5b9cecd053d87ea (patch)
treed6293c4a69d8563eff90f76b9eb69a4a42d5a3cb /app/qml/pages/ManagerPage.qml
parentec074ada19ed8855a8006ca66c709a8303906932 (diff)
parent6da5f1039ed113dcf11b0347e6d2dbd5432c3d33 (diff)
Merge pull request #50 from abranson/volume
Switch music volume controls to alter the system volume.
Diffstat (limited to 'app/qml/pages/ManagerPage.qml')
-rw-r--r--app/qml/pages/ManagerPage.qml10
1 files changed, 10 insertions, 0 deletions
diff --git a/app/qml/pages/ManagerPage.qml b/app/qml/pages/ManagerPage.qml
index 894797d..7fb7369 100644
--- a/app/qml/pages/ManagerPage.qml
+++ b/app/qml/pages/ManagerPage.qml
@@ -11,6 +11,7 @@ Page {
path: "/org/pebbled/settings"
property bool silentWhenConnected: false
property bool transliterateMessage: false
+ property bool useSystemVolume: true
property bool incomingCallNotification: true
property bool notificationsCommhistoryd: true
property bool notificationsMissedCall: true
@@ -133,6 +134,15 @@ Page {
}
}
TextSwitch {
+ text: qsTr("Control main volume")
+ description: qsTr("Pebble music volume buttons change the main phone volume directly instead of through the music player.")
+ checked: settings.useSystemVolume
+ automaticCheck: true
+ onClicked: {
+ settings.useSystemVolume = !settings.useSystemVolume;
+ }
+ }
+ TextSwitch {
text: qsTr("Transliterate messages")
description: qsTr("Messages are transliterated to ASCII before sending to Pebble")
checked: settings.transliterateMessage