mobile-widgets/qml: disable global drawer in startpage

Do not show global drawer when user is doing login.

Signed-off-by: Jan Iversen <jani@apache.org>
This commit is contained in:
jan Iversen 2019-12-18 20:12:58 +01:00 committed by Dirk Hohndel
parent d92b51352e
commit 5f5d4ffbc9

View file

@ -165,6 +165,8 @@ Kirigami.ApplicationWindow {
globalDrawer: Kirigami.GlobalDrawer {
id: gDrawer
height: rootItem.height
enabled: (prefs.credentialStatus === CloudStatus.CS_NOCLOUD ||
prefs.credentialStatus === CloudStatus.CS_VERIFIED)
topContent: Image {
source: "qrc:/qml/icons/dive.jpg"
Layout.fillWidth: true