Mobile: don't show filter button when entering credentials

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2019-09-20 12:01:24 -07:00
parent df4fbf7699
commit cefebc17bd

View file

@ -408,8 +408,8 @@ Kirigami.ScrollablePage {
StartPage { StartPage {
id: startPage id: startPage
anchors.fill: parent anchors.fill: parent
opacity: credentialStatus === CloudStatus.CS_NOCLOUD || opacity: (credentialStatus === CloudStatus.CS_NOCLOUD ||
(credentialStatus === CloudStatus.CS_VERIFIED) ? 0 : 1 credentialStatus === CloudStatus.CS_VERIFIED) ? 0 : 1
visible: opacity > 0 visible: opacity > 0
Behavior on opacity { NumberAnimation { duration: Kirigami.Units.shortDuration } } Behavior on opacity { NumberAnimation { duration: Kirigami.Units.shortDuration } }
function setupActions() { function setupActions() {
@ -424,6 +424,7 @@ Kirigami.ScrollablePage {
} else { } else {
page.actions.main = null page.actions.main = null
page.actions.right = null page.actions.right = null
page.actions.left = null
page.title = qsTr("Cloud credentials") page.title = qsTr("Cloud credentials")
} }
} }