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

Commit c0cfe050 authored by Kshitij's avatar Kshitij
Browse files

fix: Use correct iconSize when updating

parent 988b7865
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -1824,7 +1824,7 @@ public class DeviceProfile {
     */
     */
    public Rect getHotseatLayoutPadding(Context context) {
    public Rect getHotseatLayoutPadding(Context context) {
        // Make sure to update all relevant sizes for cutout and orientation
        // Make sure to update all relevant sizes for cutout and orientation
        updateHotseatSizes(pxFromDp(inv.iconSize[INDEX_DEFAULT], mMetrics));
        updateHotseatSizes(pxFromDp(inv.iconSize[mTypeIndex], mMetrics));
        Rect hotseatBarPadding = new Rect();
        Rect hotseatBarPadding = new Rect();
        boolean isFullyGesture = isGestural();
        boolean isFullyGesture = isGestural();
        if (isVerticalBarLayout()) {
        if (isVerticalBarLayout()) {