summaryrefslogtreecommitdiff
path: root/src/SettingsPage.qml
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/SettingsPage.qml12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/SettingsPage.qml b/src/SettingsPage.qml
index 6ff5da3..5c2e12f 100644
--- a/src/SettingsPage.qml
+++ b/src/SettingsPage.qml
@@ -5,11 +5,6 @@ import QtLocation 5.15
Item {
id: root
- // FlatMesh {
- // centerColor: "#003ee9"
- // outerColor: "#00bc1b"
- // anchors.fill: parent
- // }
PageHeader {
text: "Map settings"
}
@@ -35,6 +30,13 @@ Item {
height: width*0.2
text: "center on GPS"
}
+ LabeledSwitch {
+ width: parent.width
+ height: width*0.2
+ text: "enable compass"
+ Component.onCompleted: checked = enableCompass.value
+ onCheckedChanged: enableCompass.value = checked
+ }
Row {
width: parent.width
height: width*0.2