summaryrefslogtreecommitdiffstats
path: root/mobile-widgets
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 /mobile-widgets
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>
Diffstat (limited to 'mobile-widgets')
-rw-r--r--mobile-widgets/qml/main.qml7
1 files changed, 3 insertions, 4 deletions
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() {