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

Commit f3783291 authored by Pat Manning's avatar Pat Manning
Browse files

Skip button layout spacing call when kids nav bar is active.

Fix: 240530037
Test: manual.
Change-Id: Ibf777dfdaab3c81da8feed581a0297f09a62539d
parent 67fe05be
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -676,9 +676,11 @@ public class NavbarButtonsViewController implements TaskbarControllers.LoggableT
        updateButtonLayoutSpacing();
    }

    /** Adds the correct spacing to 3 button nav container. No-op if using gesture nav */
    /**
     * Adds the correct spacing to 3 button nav container. No-op if using gesture nav or kids mode.
     */
    private void updateButtonLayoutSpacing() {
        if (!mContext.isThreeButtonNav()) {
        if (!mContext.isThreeButtonNav() || mContext.isNavBarKidsModeActive()) {
            return;
        }
        DeviceProfile dp = mContext.getDeviceProfile();