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

Commit 4c3d20f4 authored by Kshitij's avatar Kshitij Committed by Mohammed Althaf T
Browse files

feat: Readd navbar color for phones



- Due to how taskbar works, we cannot do this on tablet

Signed-off-by: default avatarSaalim Quadri <danascape@gmail.com>
parent 491b8277
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -661,6 +661,9 @@ public class Launcher extends StatefulActivity<LauncherState>

        getWindow().setSoftInputMode(LayoutParams.SOFT_INPUT_ADJUST_NOTHING);
        setTitle(R.string.home_screen);
        if (!mDeviceProfile.isTablet) {
            getWindow().setNavigationBarColor(getWindow().getNavigationBarColor() | 0x26000000);
        }
        mStartupLatencyLogger.logEnd(LAUNCHER_LATENCY_STARTUP_ACTIVITY_ON_CREATE);

        if (BuildCompat.isAtLeastV()