mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-11-28 12:56:49 +01:00
Fix battery icon when device connected
This commit is contained in:
parent
d4dc686148
commit
69fae56a8c
@ -200,9 +200,9 @@ public class BatteryInfoActivity extends AbstractGBActivity {
|
||||
}
|
||||
if (batteryConfig.getBatteryIcon() != GBDevice.BATTERY_ICON_DEFAULT) {
|
||||
battery_status_device_icon.setImageResource(batteryConfig.getBatteryIcon());
|
||||
}
|
||||
if (gbDevice.isInitialized()) {
|
||||
battery_status_device_icon.setColorFilter(this.getResources().getColor(R.color.accent));
|
||||
if (gbDevice.isInitialized()) {
|
||||
battery_status_device_icon.setColorFilter(this.getResources().getColor(R.color.accent));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user