summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2019-10-27 14:51:18 -0400
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-10-27 12:42:38 -0700
commitd401271dab8d114c74d7d9ceb1ac39290b1a80d8 (patch)
treef4aed52eaed4f1126c8d848dd5377afc33f18de2
parent9344dd51b7f7155a5e6fad1b9de7071934e3c3c8 (diff)
downloadsubsurface-d401271dab8d114c74d7d9ceb1ac39290b1a80d8.tar.gz
Mobile: make the GPS service icon work again
I don't recall when this stopped working. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--CHANGELOG.md1
-rw-r--r--mobile-widgets/qml/main.qml7
2 files changed, 4 insertions, 4 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index fa1b6e815..032d55791 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,4 @@
+Mobile: re-enable GPS location service icon in global drawer
Mobile: add support for editing the dive number of a dive
Desktop: make dive replanning undoable
Desktop: update statistics tab on undo or redo
diff --git a/mobile-widgets/qml/main.qml b/mobile-widgets/qml/main.qml
index ae50d8dc7..8bd9a0228 100644
--- a/mobile-widgets/qml/main.qml
+++ b/mobile-widgets/qml/main.qml
@@ -461,12 +461,11 @@ if you have network connectivity and want to sync your data to cloud storage."),
}
}
] // end actions
- Kirigami.Icon {
- source: ":/icons/" + (subsurfaceTheme.currentTheme != "" ? subsurfaceTheme.currentTheme : "Blue") + "_gps.svg"
- enabled: false
+ Image {
+ fillMode: Image.PreserveAspectFit
+ source: "qrc:///icons/" + (subsurfaceTheme.currentTheme != "" ? subsurfaceTheme.currentTheme : "Blue") + "_gps.svg"
visible: locationServiceEnabled
}
-
}
function blueTheme() {