From 84e11454591beb3144ec93a32e9fb941b4db288a Mon Sep 17 00:00:00 2001 From: Seb3thehacker Date: Wed, 14 Oct 2026 19:45:47 -0700 Subject: [PATCH] intro: drop the Let's drive page, so it ends on thanks --- .../app/seb3thehacker/gearslip/ui/IntroScreen.kt | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/gearslip/src/main/java/app/seb3thehacker/gearslip/ui/IntroScreen.kt b/gearslip/src/main/java/app/seb3thehacker/gearslip/ui/IntroScreen.kt index 338517a..2417baf 100644 --- a/gearslip/src/main/java/app/seb3thehacker/gearslip/ui/IntroScreen.kt +++ b/gearslip/src/main/java/app/seb3thehacker/gearslip/ui/IntroScreen.kt @@ -168,7 +168,7 @@ internal fun introColors(): IntroColors { } /** In the order shown: what's new, what to pick, housekeeping, then the people behind it. */ -private enum class IntroStep { WELCOME, WIRELESS, KNOBS, VOICE, THEME, APPS, GRAPHENE, CHAT, DRIVE, THANKS } +private enum class IntroStep { WELCOME, WIRELESS, KNOBS, VOICE, THEME, APPS, GRAPHENE, CHAT, THANKS } private val Pop = CubicBezierEasing(0.3f, 1.6f, 0.5f, 1f) private val Rise = CubicBezierEasing(0.2f, 0.8f, 0.2f, 1f) @@ -242,8 +242,6 @@ fun IntroScreen(onDone: () -> Unit) { IntroStep.THEME -> BadgeStep(c, ::cq, ::cqSp, c.tertiaryC, "Your buttons.", "Pick how the car's buttons look. Change it any time in the car's settings.", step, extra = { ThemePicker(c, ::cq, ::cqSp, step) }) { ButtonsIcon(c.onTertiaryC) } - IntroStep.DRIVE -> BadgeStep(c, ::cq, ::cqSp, c.primaryC, "Let's drive.", - "That's ${Intro.release}. Plug in, or just get in.", step) { CheckIcon(c.onPrimaryC) } } } Column(Modifier.fillMaxWidth().padding(horizontal = cq(8f))) { @@ -845,14 +843,6 @@ internal fun HeartIcon(color: Color) { } } -@Composable -private fun CheckIcon(color: Color) { - val p = entrance(IntroStep.DRIVE, 300, 500) - Canvas(Modifier.fillMaxSize()) { - inIconBox { drawPartialStroke(listOf(Offset(10f, 26f), Offset(20f, 35f), Offset(38f, 14f)), p, color, 5.5f) } - } -} - /** A polyline drawn up to [progress] of its length, so a tick can sweep in. */ private fun DrawScope.drawPartialStroke(points: List, progress: Float, color: Color, width: Float) { if (progress <= 0f) return