Revert the dependence on wideScreen to avoid app-crashing binding loops

This commit is contained in:
Bart De Vries 2021-05-27 16:56:15 +02:00
parent 25656388c9
commit e78965051c
1 changed files with 2 additions and 2 deletions

View File

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