QML UI: Hide map it text if no coordinates exists
This hides the text for the map it button if ther are no coordinates for a dive. Needed as for the dark theme the map it text was still visible. Signed-off-by: Joakim Bygdell <j.bygdell@gmail.com>
This commit is contained in:
parent
2ecd7e58d4
commit
60b64ceca4
@ -70,6 +70,7 @@ Item {
|
||||
Kirigami.Label {
|
||||
id: buttonText
|
||||
text: qsTr("Map it")
|
||||
visible: dive.gps !== ""
|
||||
color: subsurfaceTheme.darkerPrimaryTextColor
|
||||
anchors {
|
||||
horizontalCenter: parent.horizontalCenter
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user