The car's Settings shows What's new above the connection and version, and says more settings are in the app on the phone

This commit is contained in:
Seb3thehacker committed 2026-11-29 18:04:42 -08:00
1 parent 70b3466a5f
commit 27ea575107
2 files changed
+16 -8

No files matched your search

@@ -258,6 +258,18 @@ fun CarSettingsScreen() {
ExperimentalFeaturesList(carSensors, adaptiveVideo) ExperimentalFeaturesList(carSensors, adaptiveVideo)
} }
} }
item {
Column(verticalArrangement = Arrangement.spacedBy(8.dp)) {
SwitchRow(
stringResource(R.string.carset_whats_new_after),
stringResource(R.string.carset_whats_new_after_sub),
whatsNew,
) { CarSettings.setWhatsNewAfterUpdates(it) }
GsButton(onClick = CarSettings::openWhatsNew, tone = GsTone.Tonal, modifier = Modifier.height(56.dp)) {
Text(stringResource(R.string.settings_whats_new), style = MaterialTheme.typography.titleMedium)
}
}
}
item { item {
Column(verticalArrangement = Arrangement.spacedBy(8.dp)) { Column(verticalArrangement = Arrangement.spacedBy(8.dp)) {
SubGroup(stringResource(R.string.settings_connection)) SubGroup(stringResource(R.string.settings_connection))
@@ -273,18 +285,12 @@ fun CarSettingsScreen() {
SubGroup(stringResource(R.string.settings_about)) SubGroup(stringResource(R.string.settings_about))
Info(stringResource(R.string.carset_version), app.seb3thehacker.gearslip.BuildConfig.VERSION_NAME) Info(stringResource(R.string.carset_version), app.seb3thehacker.gearslip.BuildConfig.VERSION_NAME)
Info(stringResource(R.string.carset_build), app.seb3thehacker.gearslip.BuildConfig.VERSION_CODE.toString()) Info(stringResource(R.string.carset_build), app.seb3thehacker.gearslip.BuildConfig.VERSION_CODE.toString())
SwitchRow(
stringResource(R.string.carset_whats_new_after),
stringResource(R.string.carset_whats_new_after_sub),
whatsNew,
) { CarSettings.setWhatsNewAfterUpdates(it) }
GsButton(onClick = CarSettings::openWhatsNew, tone = GsTone.Tonal, modifier = Modifier.height(56.dp)) {
Text(stringResource(R.string.settings_whats_new), style = MaterialTheme.typography.titleMedium)
}
} }
} }
} }
} }
// The phone app has more: connection, which apps show, the browser, the certificate.
item { Note(stringResource(R.string.carset_more_on_phone)) }
} }
} }
} }
+2
View File
@@ -207,6 +207,8 @@
<string name="summary_experimental_shown">Experimental features shown</string> <string name="summary_experimental_shown">Experimental features shown</string>
<string name="summary_experimental_hidden">Experimental features hidden</string> <string name="summary_experimental_hidden">Experimental features hidden</string>
<string name="home_car">Car</string> <string name="home_car">Car</string>
<!-- At the bottom of every page of Settings on the car screen. -->
<string name="carset_more_on_phone">More settings, such as connection, which apps show and the browser, are in the Gearslip app on your phone.</string>
<string name="car_group_same">These are the same settings as Settings in the car. A change here shows there too.</string> <string name="car_group_same">These are the same settings as Settings in the car. A change here shows there too.</string>
<string name="car_open_on_connect">Open on connect</string> <string name="car_open_on_connect">Open on connect</string>
<string name="car_size">Size</string> <string name="car_size">Size</string>