fix battery icon on LockScreen

This commit is contained in:
notiant
2026-01-23 00:05:05 +01:00
committed by GitHub
parent a03fd669f3
commit 9f4ffacbaf
4 changed files with 17 additions and 5 deletions
@@ -164,7 +164,7 @@ NBox {
NIcon {
icon: {
var b = BluetoothService.getBatteryPercent(modelData);
return BatteryService.getIcon(b !== null ? b : 0, false, b !== null);
return BatteryService.getIcon(b !== null ? b : 0, false, false, b !== null);
}
pointSize: Style.fontSizeXS
color: getContentColor(Color.mOnSurface)
@@ -347,7 +347,7 @@ NBox {
NIcon {
icon: {
var b = BluetoothService.getBatteryPercent(modelData);
return BatteryService.getIcon(b !== null ? b : 0, false, b !== null);
return BatteryService.getIcon(b !== null ? b : 0, false, false, b !== null);
}
pointSize: Style.fontSizeXS
color: Color.mOnSurface