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

Commit f48cbd47 authored by Mohammed Althaf T's avatar Mohammed Althaf T 😊
Browse files

Merge remote-tracking branch 'origin/lineage-23.2' into a16.2

parents 5fcb99bb f7107a35
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -447,7 +447,11 @@ fun CircleBatteryBody(
        // Draw colored arc representing charge level
        if (level != null && level > 0) {
            drawArc(
                if (level <= 20 && attr !is BatteryGlyph.Bolt && attr !is BatteryGlyph.Plus) {
                if (attr is BatteryGlyph.Bolt || attr is BatteryGlyph.Defend) {
                    BatteryColors.DarkTheme.Charging.fill
                } else if (attr is BatteryGlyph.Plus) {
                    BatteryColors.DarkTheme.PowerSave.fill
                } else if (level <= 20) {
                    colorError
                } else {
                    colors.attribution