Skip to content

Commit 993f022

Browse files
committed
android: ui tweaks
1 parent 650b128 commit 993f022

5 files changed

Lines changed: 165 additions & 90 deletions

File tree

android/app/src/main/java/me/kavishdevar/librepods/composables/BatteryView.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ fun BatteryView(service: AirPodsService, preview: Boolean = false) {
110110
if (preview) {
111111
batteryStatus.value = listOf(
112112
Battery(BatteryComponent.LEFT, 100, BatteryStatus.NOT_CHARGING),
113-
Battery(BatteryComponent.RIGHT, 94, BatteryStatus.NOT_CHARGING),
113+
Battery(BatteryComponent.RIGHT, 94, BatteryStatus.CHARGING),
114114
Battery(BatteryComponent.CASE, 40, BatteryStatus.CHARGING)
115115
)
116116
previousBatteryStatus.value = batteryStatus.value
@@ -177,7 +177,7 @@ fun BatteryView(service: AirPodsService, preview: Boolean = false) {
177177
}
178178
if (leftLevel > 0 && rightLevel > 0)
179179
{
180-
Spacer(modifier = Modifier.width(4.dp))
180+
Spacer(modifier = Modifier.width(16.dp))
181181
}
182182
if (rightLevel > 0 || right?.status != BatteryStatus.DISCONNECTED)
183183
{

0 commit comments

Comments
 (0)