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

Commit c5c30c28 authored by Yash Garg's avatar Yash Garg 💬 Committed by Sahil Sonar
Browse files

feat(idp): increase icon size by a factor of 1.3

parent edfdc2fe
Loading
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -355,6 +355,11 @@ public class DeviceProfile {
                LineageSettings.System.ENABLE_TASKBAR, isTablet ? 1 : 0) == 1;
        isTaskbarPresent = isTaskBarEnabled && ApiWrapper.TASKBAR_DRAWN_IN_PROCESS;

        inv.iconSize[INDEX_DEFAULT] *= 1.3;
        inv.iconSize[INDEX_LANDSCAPE] *= 1.3;
        inv.iconSize[INDEX_TWO_PANEL_PORTRAIT] *= 1.3;
        inv.iconSize[INDEX_TWO_PANEL_LANDSCAPE] *= 1.3;

        // Some more constants.
        context = getContext(context, info, isVerticalBarLayout() || (isTablet && isLandscape)
                        ? Configuration.ORIENTATION_LANDSCAPE