car: say when the phone's location is off, ten seconds into a drive, with Don't show again and a setting to turn the warning off

This commit is contained in:
Seb3thehacker committed 2026-10-14 15:45:10 -07:00
1 parent 9b7734bec8
commit 815a75ad6d
6 files changed
+124 -1

No files matched your search

@@ -55,6 +55,7 @@ fun CarSettingsScreen() {
val pipeAudio by CarSettings.pipeAudio.collectAsState()
val speakDirections by CarSettings.speakDirections.collectAsState()
val bluetoothWarning by CarSettings.bluetoothWarning.collectAsState()
val locationWarning by CarSettings.locationWarning.collectAsState()
val autoplay by CarSettings.autoplay.collectAsState()
val playerTitle by CarSettings.playerTitle.collectAsState()
val theme by CarSettings.appTheme.collectAsState()
@@ -145,6 +146,11 @@ fun CarSettingsScreen() {
bluetoothWarning,
) { CarSettings.setBluetoothWarning(it) }
}
ChoiceRow(
"Warn when location is off",
listOf(false to "Off", true to "On"),
locationWarning,
) { CarSettings.setLocationWarning(it) }
ChoiceRow(
"Spoken directions",