aboutsummaryrefslogtreecommitdiff
path: root/src/SettingsPage.qml
diff options
context:
space:
mode:
authorArseniy Movshev <dodoradio@outlook.com>2023-01-07 15:58:55 +0000
committerArseniy Movshev <dodoradio@outlook.com>2023-01-07 16:30:02 +0000
commiteb1b5982def21f758710b133ceb283e197f5de49 (patch)
treed67cbc5a480f8bfcf4b373e2062e5c03bee709c5 /src/SettingsPage.qml
parentddff93dee672a3e78259a96f086017ff7b4fea75 (diff)
Fix GPS positioning button
Diffstat (limited to '')
-rw-r--r--src/SettingsPage.qml7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/SettingsPage.qml b/src/SettingsPage.qml
index 5c2e12f..c7f21cd 100644
--- a/src/SettingsPage.qml
+++ b/src/SettingsPage.qml
@@ -37,6 +37,13 @@ Item {
Component.onCompleted: checked = enableCompass.value
onCheckedChanged: enableCompass.value = checked
}
+ LabeledSwitch {
+ width: parent.width
+ height: width*0.2
+ text: "enable GPS"
+ Component.onCompleted: checked = prioritiseGPS.value
+ onCheckedChanged: prioritiseGPS.value = checked
+ }
Row {
width: parent.width
height: width*0.2