mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
QML UI: even with valid credentials, don't show empty dive list
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
dbc96b1db3
commit
d877e13e0a
1 changed files with 1 additions and 1 deletions
|
@ -187,7 +187,7 @@ MobileComponents.Page {
|
||||||
ScrollView {
|
ScrollView {
|
||||||
id: startPageWrapper
|
id: startPageWrapper
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
opacity: (credentialStatus == QMLManager.VALID || credentialStatus == QMLManager.VALID_EMAIL) ? 0 : 1
|
opacity: (diveListView.count > 0 && (credentialStatus == QMLManager.VALID || credentialStatus == QMLManager.VALID_EMAIL)) ? 0 : 1
|
||||||
visible: opacity > 0
|
visible: opacity > 0
|
||||||
Behavior on opacity { NumberAnimation { duration: MobileComponents.Units.shortDuration } }
|
Behavior on opacity { NumberAnimation { duration: MobileComponents.Units.shortDuration } }
|
||||||
StartPage {
|
StartPage {
|
||||||
|
|
Loading…
Add table
Reference in a new issue