UX: remove welcome screen (start at safety), bump version

This commit is contained in:
Tretzi
2026-04-10 11:23:11 -05:00
parent 4a177c123c
commit 7b1c4ec474
3 changed files with 5 additions and 7 deletions

View File

@@ -11,7 +11,7 @@ android {
applicationId = "com.mindmachine.mvp"
minSdk = 26
targetSdk = 35
versionCode = 3
versionCode = 4
versionName = "1.0"
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"

View File

@@ -186,13 +186,8 @@ fun App(vm: MainViewModel = viewModel()) {
return
}
val startRoute = if (ui.settings.safetyAcknowledged) "home" else "welcome"
val startRoute = if (ui.settings.safetyAcknowledged) "home" else "safety"
NavHost(navController = nav, startDestination = startRoute, modifier = Modifier.background(MaterialTheme.colorScheme.background)) {
composable("welcome") {
SimpleScreen("MindMachine", "Blinking light + binaural audio. Stereo headphones required for binaural mode. Not a medical device.") {
Button(onClick = { nav.navigate("safety") }) { Text("Continue") }
}
}
composable("safety") {
SafetyScreen(
onAck = {