Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Verified Commit 511ce39f authored by Saalim Quadri's avatar Saalim Quadri
Browse files

feat: Always adjust to minQSBMargin instead of keeping full space

parent 01323bad
Loading
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -989,10 +989,14 @@ public class DeviceProfile {
                }
                hotseatBarBottomSpacePx = mInsets.bottom + minQsbMargin;

            } else {
                if (!isGestureMode && mInsets.bottom < minQsbMargin) {
                    hotseatBarBottomSpacePx = minQsbMargin;
                } else {
                    hotseatBarBottomSpacePx = hotseatBarBottomSpace;
                }
            }
        }

        hotseatBarBottomSpacePx += mInfo.cutout.bottom;
        hotseatBarBottomSpacePx += (areNavButtonsInline && FORCE_LAYOUT_ALL_HOTSEAT_ICONS