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

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

feat: fix hotseat padding on tablet

parent 041a52c1
Loading
Loading
Loading
Loading
+3 −4
Original line number Diff line number Diff line
@@ -1499,14 +1499,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;