mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-19 14:25:27 +00:00
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:
parent
d92b51352e
commit
5f5d4ffbc9
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue