From 4638936a2276e0b8aec4c1146539c64702f60a2d Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Tue, 6 Oct 2020 20:02:53 -0700 Subject: 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 --- mobile-widgets/qml/main.qml | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) (limited to 'mobile-widgets') 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 + } } } -- cgit v1.2.3-70-g09d2