mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
420e64aae8
commit
4638936a22
1 changed files with 13 additions and 4 deletions
|
@ -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
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue