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

Verified Commit 01f13ef2 authored by Kshitij's avatar Kshitij Committed by Saalim Quadri
Browse files

fix: Zero out portrait padding for tablet

parent 8e99e1e0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -391,7 +391,7 @@ public class Workspace<T extends View & PageIndicator> extends PagedView<T>
        // We need padding zeroed out for minus one page.
        // Also handle vertical bar layout padding manually under
        // updateCellLayoutPadding
        if (grid.isLandscape) {
        if (grid.isLandscape || grid.isTablet) {
            setPadding(0, padding.top, 0, padding.bottom);
        } else {
            setPadding(padding.left, padding.top, padding.right, padding.bottom);