fix: Hide stale cached battery indicator when AAP is connected

This commit is contained in:
darken
2026-04-04 11:41:26 +02:00
committed by Matthias Urhahn
parent 33c8fe76a6
commit 4631aa8bb2
2 changed files with 2 additions and 2 deletions
@@ -193,7 +193,7 @@ fun DualPodsCard(
}
// Cached battery indicator
if (device.isBatteryCached) {
if (device.isBatteryCached && !device.isAapReady) {
Spacer(modifier = Modifier.height(4.dp))
Text(
text = stringResource(R.string.battery_cached_label, device.cachedBatteryFormatted(now)),
@@ -218,7 +218,7 @@ fun SinglePodsCard(
}
// Cached battery indicator
if (device.isBatteryCached) {
if (device.isBatteryCached && !device.isAapReady) {
Spacer(modifier = Modifier.height(4.dp))
Text(
text = stringResource(R.string.battery_cached_label, device.cachedBatteryFormatted(now)),