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 --- CHANGELOG.md | 1 + mobile-widgets/qml/main.qml | 7 +++---- 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() { -- cgit v1.2.3-70-g09d2