From cefebc17bd93f105643e1548b2e9531c1561348f Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Fri, 20 Sep 2019 12:01:24 -0700 Subject: Mobile: don't show filter button when entering credentials Signed-off-by: Dirk Hohndel --- mobile-widgets/qml/DiveList.qml | 5 +++-- 1 file 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") } } -- cgit v1.2.3-70-g09d2