diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2020-10-06 20:02:53 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-10-24 09:47:37 -0700 |
commit | 4638936a2276e0b8aec4c1146539c64702f60a2d (patch) | |
tree | f8829228c510e2ba4eca6f319362b9299602bd70 | |
parent | 420e64aae8a6d1a9a7acf3bfc216bbc302ec10c0 (diff) | |
download | subsurface-4638936a2276e0b8aec4c1146539c64702f60a2d.tar.gz |
mobile: show text with location service icon
I don't recall why we removed that text, but this makes it much clearer
that the service is active.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r-- | mobile-widgets/qml/main.qml | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/mobile-widgets/qml/main.qml b/mobile-widgets/qml/main.qml index 8a65f1ab9..2c5a5a3f2 100644 --- a/mobile-widgets/qml/main.qml +++ b/mobile-widgets/qml/main.qml @@ -600,10 +600,19 @@ if you have network connectivity and want to sync your data to cloud storage."), */ } ] // end actions - Image { - fillMode: Image.PreserveAspectFit - source: "qrc:///icons/" + (subsurfaceTheme.currentTheme !== "" ? subsurfaceTheme.currentTheme : "Blue") + "_gps.svg" - visible: locationServiceEnabled + Row { + spacing: Kirigami.Units.smallSpacing + Image { + id: ls_logo + fillMode: Image.PreserveAspectFit + source: "qrc:///icons/" + (subsurfaceTheme.currentTheme !== "" ? subsurfaceTheme.currentTheme : "Blue") + "_gps.svg" + visible: locationServiceEnabled + } + Text { + text: qsTr("Background location service active") + visible: locationServiceEnabled + anchors.verticalCenter: ls_logo.verticalCenter + } } } |