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,10 +600,19 @@ if you have network connectivity and want to sync your data to cloud storage."),
*/ */
} }
] // end actions ] // end actions
Image { Row {
fillMode: Image.PreserveAspectFit spacing: Kirigami.Units.smallSpacing
source: "qrc:///icons/" + (subsurfaceTheme.currentTheme !== "" ? subsurfaceTheme.currentTheme : "Blue") + "_gps.svg" Image {
visible: locationServiceEnabled 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
}
} }
} }