From 5f5d4ffbc944fce6ceeb35da205915b6ff55c5e1 Mon Sep 17 00:00:00 2001 From: jan Iversen Date: Wed, 18 Dec 2019 20:12:58 +0100 Subject: mobile-widgets/qml: disable global drawer in startpage Do not show global drawer when user is doing login. Signed-off-by: Jan Iversen --- mobile-widgets/qml/main.qml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'mobile-widgets') diff --git a/mobile-widgets/qml/main.qml b/mobile-widgets/qml/main.qml index 44494f92a..16643e5dc 100644 --- a/mobile-widgets/qml/main.qml +++ b/mobile-widgets/qml/main.qml @@ -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 -- cgit v1.2.3-70-g09d2