Fix bottom margin for notifications now that floating buttons are gone

This commit is contained in:
Bart De Vries 2021-10-30 19:45:53 +02:00
parent e16c40d57c
commit ad5213176e
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ Kirigami.ApplicationWindow {
property var miniplayerSize: Math.round(Kirigami.Units.gridUnit * 3) + Kirigami.Units.gridUnit / 6 property var miniplayerSize: Math.round(Kirigami.Units.gridUnit * 3) + Kirigami.Units.gridUnit / 6
property int bottomMessageSpacing: { property int bottomMessageSpacing: {
if (Kirigami.Settings.isMobile) { if (Kirigami.Settings.isMobile) {
return Kirigami.Units.largeSpacing + ( AudioManager.entry ? ( footerLoader.item.contentY == 0 ? miniplayerSize : 0 ) : 0 ) + (root.footer.height); return Kirigami.Units.largeSpacing + ( AudioManager.entry ? ( footerLoader.item.contentY == 0 ? miniplayerSize : 0 ) : 0 )
} else { } else {
return Kirigami.Units.largeSpacing * 2; return Kirigami.Units.largeSpacing * 2;
} }