From eba8ac11278ca94267901c9bd4a7f8c54ee3ef72 Mon Sep 17 00:00:00 2001 From: Seb3thehacker Date: Tue, 13 Oct 2026 16:45:59 -0700 Subject: [PATCH] home: What's new and which cars work sit at the bottom --- .../seb3thehacker/gearslip/ui/HomeScreen.kt | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/gearslip/src/main/java/app/seb3thehacker/gearslip/ui/HomeScreen.kt b/gearslip/src/main/java/app/seb3thehacker/gearslip/ui/HomeScreen.kt index 3a3975f..2f0dcad 100644 --- a/gearslip/src/main/java/app/seb3thehacker/gearslip/ui/HomeScreen.kt +++ b/gearslip/src/main/java/app/seb3thehacker/gearslip/ui/HomeScreen.kt @@ -100,7 +100,18 @@ fun HomeScreen( ) Spacer(Modifier.height(16.dp)) StatusCard(status) + // The first drive that worked asks once to share it, right under the result. + val car = workedCar + if (car != null && !live) { + Spacer(Modifier.height(16.dp)) + WorkedCard(car, onSeeWhatsSent = onOpenUsageNotes) + } Spacer(Modifier.height(16.dp)) + UpdateCard() + } + + // Sits at the bottom, where a thumb reaches it. + Column(Modifier.padding(vertical = 16.dp)) { SettingsCard { SettingsRow( "What's new in ${Intro.release}", @@ -117,19 +128,8 @@ fun HomeScreen( trailing = { Arrow() }, ) } - // The first drive that worked asks once to share it, right under the result. - val car = workedCar - if (car != null && !live) { - Spacer(Modifier.height(16.dp)) - WorkedCard(car, onSeeWhatsSent = onOpenUsageNotes) - } - Spacer(Modifier.height(16.dp)) - UpdateCard() - } - - // Sits at the bottom, where a thumb reaches it. - Column(Modifier.padding(vertical = 16.dp)) { if (live) { + Spacer(Modifier.height(16.dp)) Button(onClick = onDisconnect, modifier = Modifier.fillMaxWidth().height(56.dp)) { Text("Disconnect") }