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

Commit 2d9ca66b authored by Mohammed Althaf T's avatar Mohammed Althaf T 😊
Browse files

feat: Fix hotseat when there's no navbar hint

parent a6ba2ee4
Loading
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -954,6 +954,11 @@ public class DeviceProfile {
            int bottomPadding;
            if (mode == SysUINavigationMode.Mode.NO_BUTTON) {
                bottomPadding = verticalPadding;
                if (LineageSettings.System.getInt(context.getContentResolver(),
                        LineageSettings.System.NAVIGATION_BAR_HINT, 0) != 1) {
                    bottomPadding -= hotseatBarTopPaddingPx / 2;
                    verticalPadding += hotseatBarTopPaddingPx + (hotseatBarTopPaddingPx / 2);
                }
            } else {
                bottomPadding = verticalPadding + Math.round(mInsets.bottom / 1.5f);
            }