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

Commit 6066b2aa authored by Kshitij's avatar Kshitij Committed by Mohammed Althaf T
Browse files

fix: Use correct iconSize when updating

parent 5736105d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1989,7 +1989,7 @@ public class DeviceProfile {
     */
    public Rect getHotseatLayoutPadding(Context context) {
        // Make sure to update all relevant sizes for cutout and orientation
        updateHotseatSizes(pxFromDp(inv.iconSize[INDEX_DEFAULT], mMetrics));
        updateHotseatSizes(pxFromDp(inv.iconSize[mTypeIndex], mMetrics));
        boolean isTaskbarPresent = this.isTaskbarPresent &&
                SettingsCache.INSTANCE.get(context).getValue(ENABLE_TASKBAR, 1);
        Rect hotseatBarPadding = new Rect();