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>
This commit is contained in:
Dirk Hohndel 2020-10-06 20:02:53 -07:00
parent 420e64aae8
commit 4638936a22

View file

@ -600,11 +600,20 @@ if you have network connectivity and want to sync your data to cloud storage."),
*/ */
} }
] // end actions ] // end actions
Row {
spacing: Kirigami.Units.smallSpacing
Image { Image {
id: ls_logo
fillMode: Image.PreserveAspectFit fillMode: Image.PreserveAspectFit
source: "qrc:///icons/" + (subsurfaceTheme.currentTheme !== "" ? subsurfaceTheme.currentTheme : "Blue") + "_gps.svg" source: "qrc:///icons/" + (subsurfaceTheme.currentTheme !== "" ? subsurfaceTheme.currentTheme : "Blue") + "_gps.svg"
visible: locationServiceEnabled visible: locationServiceEnabled
} }
Text {
text: qsTr("Background location service active")
visible: locationServiceEnabled
anchors.verticalCenter: ls_logo.verticalCenter
}
}
} }
function setupUnits() { function setupUnits() {