Make sure that globalDrawer is not open on mobile on startup

This commit is contained in:
Bart De Vries 2021-05-23 21:34:37 +02:00
parent 4342794ac4
commit 086e0ef664

View File

@ -45,7 +45,7 @@ Kirigami.ApplicationWindow {
globalDrawer: Kirigami.GlobalDrawer {
isMenu: false
modal: !wideScreen
modal: !wideScreen || Kirigami.Settings.isMobile
// make room at the bottom for miniplayer
handle.anchors.bottomMargin: (AudioManager.entry ? (footerLoader.item.contentY == 0 ? miniplayerSize : 0) : 0) + Kirigami.Units.smallSpacing + tabBarActive * tabBarHeight
handleVisible: !AudioManager.entry || footerLoader.item.contentY === 0