home: What's new and which cars work sit at the bottom

This commit is contained in:
Seb3thehacker committed 2026-10-13 16:45:59 -07:00
1 parent 1086e7c8fa
commit eba8ac1127
1 file changed
+12 -12
@@ -100,7 +100,18 @@ fun HomeScreen(
) )
Spacer(Modifier.height(16.dp)) Spacer(Modifier.height(16.dp))
StatusCard(status) 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)) Spacer(Modifier.height(16.dp))
UpdateCard()
}
// Sits at the bottom, where a thumb reaches it.
Column(Modifier.padding(vertical = 16.dp)) {
SettingsCard { SettingsCard {
SettingsRow( SettingsRow(
"What's new in ${Intro.release}", "What's new in ${Intro.release}",
@@ -117,19 +128,8 @@ fun HomeScreen(
trailing = { Arrow() }, 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) { if (live) {
Spacer(Modifier.height(16.dp))
Button(onClick = onDisconnect, modifier = Modifier.fillMaxWidth().height(56.dp)) { Button(onClick = onDisconnect, modifier = Modifier.fillMaxWidth().height(56.dp)) {
Text("Disconnect") Text("Disconnect")
} }