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

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

feat: fix hotseat padding on tablet

parent 8a8ba6a2
Loading
Loading
Loading
Loading
+3 −4
Original line number Diff line number Diff line
@@ -2169,14 +2169,13 @@ public class DeviceProfile {
        if (isTaskbarPresent) { // QSB on top or inline
            if (isGestural()) {
                if (isLandscape) {
                    return 0;
                    return -1;
                } else {
                    return heightDifference / 2;
                    return heightDifference / 5;
                }
            } else {
                return hotseatBarBottomSpacePx - (heightDifference / 2);
                return hotseatBarBottomSpacePx - heightDifference;
            }

        } else {
            if (isNoHintGesture) {
                return Math.abs(hotseatBarSizePx - iconSizePx) / 2;