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

Commit ecc93f28 authored by Evan Laird's avatar Evan Laird
Browse files

Fix battery percent text not updating on Font size change

The view wasn't actually setting the new text size when there was a
display scale or font size change. But now it does.

Test: visual
Change-Id: I3a38c779fe75e4fe29e962bb7d46cdef4da9e829
Fixes: 37919352
parent 511c95a0
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -234,6 +234,7 @@ public class BatteryMeterView extends LinearLayout implements
        scaledLayoutParams.setMargins(0, 0, 0, marginBottom);

        mBatteryIconView.setLayoutParams(scaledLayoutParams);
        FontSizeUtils.updateFontSize(mBatteryPercentView, R.dimen.qs_time_expanded_size);
    }

    @Override