fix: ASCII-safe tab icons + yaris-obd branding on Settings

- Tab icons: Cam / DL / Set (Unicode emoji kept corrupting in the source file)
- Settings top: yaris-obd title + Phase 28 subtitle restored
This commit is contained in:
Mathieu Moran
2026-08-12 04:18:11 -04:00
parent d613252155
commit eab91956c9
2 changed files with 6 additions and 5 deletions
@@ -77,19 +77,19 @@ fun YarisMainScreen(client: OkHttpClient) {
NavigationBarItem( NavigationBarItem(
selected = selectedTab == 0, selected = selectedTab == 0,
onClick = { selectedTab = 0 }, onClick = { selectedTab = 0 },
icon = { Text("📹") }, icon = { Text("Cam") },
label = { Text("Dashcam") } label = { Text("Dashcam") }
) )
NavigationBarItem( NavigationBarItem(
selected = selectedTab == 1, selected = selectedTab == 1,
onClick = { selectedTab = 1 }, onClick = { selectedTab = 1 },
icon = { Text(".") }, icon = { Text("DL") },
label = { Text("Downloads") } label = { Text("Downloads") }
) )
NavigationBarItem( NavigationBarItem(
selected = selectedTab == 2, selected = selectedTab == 2,
onClick = { selectedTab = 2 }, onClick = { selectedTab = 2 },
icon = { Text(".") }, icon = { Text("Set") },
label = { Text("Settings") } label = { Text("Settings") }
) )
} }
@@ -49,9 +49,10 @@ fun SettingsScreen(client: OkHttpClient) {
Column( Column(
modifier = Modifier.fillMaxSize().verticalScroll(rememberScrollState()).padding(16.dp) modifier = Modifier.fillMaxSize().verticalScroll(rememberScrollState()).padding(16.dp)
) { ) {
Text("Settings", style = MaterialTheme.typography.titleLarge, color = MaterialTheme.colorScheme.primary) Text("yaris-obd", style = MaterialTheme.typography.headlineLarge, color = MaterialTheme.colorScheme.primary)
Text("Phase 28 — Android Companion", style = MaterialTheme.typography.bodySmall, color = MaterialTheme.colorScheme.onSurfaceVariant)
Spacer(Modifier.height(16.dp)) Spacer(Modifier.height(20.dp))
// Server credentials // Server credentials
Card( Card(