mirror of
https://github.com/d4rken-org/capod.git
synced 2026-09-14 18:26:11 -04:00
ui(overview): Give the last known caption more room above
At 4.dp the caption crowded the bottom edge of the battery surface it describes. 8.dp separates the two without pushing it far enough to read as its own block, which 12.dp (the gap used before the ANC selector) would. Both pod cards carry the caption, so both move together.
This commit is contained in:
@@ -288,7 +288,7 @@ private fun ColumnScope.DualPodsCardExpanded(
|
||||
|
||||
// Cached battery indicator
|
||||
if (device.isBatteryCached && !device.isLive) {
|
||||
Spacer(modifier = Modifier.height(4.dp))
|
||||
Spacer(modifier = Modifier.height(8.dp))
|
||||
Text(
|
||||
text = stringResource(R.string.battery_cached_label, device.cachedBatteryFormatted(now)),
|
||||
style = MaterialTheme.typography.bodySmall,
|
||||
|
||||
@@ -322,7 +322,7 @@ private fun ColumnScope.SinglePodsCardExpanded(
|
||||
|
||||
// Cached battery indicator
|
||||
if (device.isBatteryCached && !device.isLive) {
|
||||
Spacer(modifier = Modifier.height(4.dp))
|
||||
Spacer(modifier = Modifier.height(8.dp))
|
||||
Text(
|
||||
text = stringResource(R.string.battery_cached_label, device.cachedBatteryFormatted(now)),
|
||||
style = MaterialTheme.typography.bodySmall,
|
||||
|
||||
Reference in New Issue
Block a user