summaryrefslogtreecommitdiffstats
path: root/mobile-widgets
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2019-09-20 12:01:24 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-09-21 15:13:10 -0700
commitcefebc17bd93f105643e1548b2e9531c1561348f (patch)
treeb7e458f427bd2ec4cae240ebd6ccfa753d9778b1 /mobile-widgets
parentdf4fbf7699952eca3d79b732cdedba7c524b024e (diff)
downloadsubsurface-cefebc17bd93f105643e1548b2e9531c1561348f.tar.gz
Mobile: don't show filter button when entering credentials
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'mobile-widgets')
-rw-r--r--mobile-widgets/qml/DiveList.qml5
1 files changed, 3 insertions, 2 deletions
diff --git a/mobile-widgets/qml/DiveList.qml b/mobile-widgets/qml/DiveList.qml
index 6c3091883..a2cb1e40c 100644
--- a/mobile-widgets/qml/DiveList.qml
+++ b/mobile-widgets/qml/DiveList.qml
@@ -408,8 +408,8 @@ Kirigami.ScrollablePage {
StartPage {
id: startPage
anchors.fill: parent
- opacity: credentialStatus === CloudStatus.CS_NOCLOUD ||
- (credentialStatus === CloudStatus.CS_VERIFIED) ? 0 : 1
+ opacity: (credentialStatus === CloudStatus.CS_NOCLOUD ||
+ credentialStatus === CloudStatus.CS_VERIFIED) ? 0 : 1
visible: opacity > 0
Behavior on opacity { NumberAnimation { duration: Kirigami.Units.shortDuration } }
function setupActions() {
@@ -424,6 +424,7 @@ Kirigami.ScrollablePage {
} else {
page.actions.main = null
page.actions.right = null
+ page.actions.left = null
page.title = qsTr("Cloud credentials")
}
}