mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Mobile: don't show nothing for the location
We use 'Dive details' as page title, everywhere else we use '<unnamed dive site>'. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
320d2c47aa
commit
e03d3ac5d6
3 changed files with 4 additions and 3 deletions
|
@ -36,7 +36,7 @@ Item {
|
|||
anchors.left: parent.left
|
||||
Controls.Label {
|
||||
id: locationText
|
||||
text: location
|
||||
text: (undefined !== location && "" !== location) ? location : qsTr("<unnamed dive site>")
|
||||
font.weight: Font.Bold
|
||||
font.pointSize: subsurfaceTheme.titlePointSize
|
||||
wrapMode: Text.WrapAtWordBoundaryOrAnywhere
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue