From d401271dab8d114c74d7d9ceb1ac39290b1a80d8 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Sun, 27 Oct 2019 14:51:18 -0400 Subject: Mobile: make the GPS service icon work again I don't recall when this stopped working. Signed-off-by: Dirk Hohndel --- mobile-widgets/qml/main.qml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'mobile-widgets/qml') 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() { -- cgit v1.2.3-70-g09d2