sforkowany z mirror/meshtastic-android
feat: add wake_on_tap_or_motion config
rodzic
5d28bfa1c3
commit
189159c293
|
@ -660,6 +660,14 @@ fun DeviceSettingsItemList(viewModel: UIViewModel = viewModel()) {
|
|||
}
|
||||
item { Divider() }
|
||||
|
||||
item {
|
||||
SwitchPreference(title = "Wake screen on tap or motion",
|
||||
checked = displayInput.wakeOnTapOrMotion,
|
||||
enabled = connected,
|
||||
onCheckedChange = { displayInput = displayInput.copy { wakeOnTapOrMotion = it } })
|
||||
}
|
||||
item { Divider() }
|
||||
|
||||
item {
|
||||
PreferenceFooter(
|
||||
enabled = displayInput != localConfig.display,
|
||||
|
|
Ładowanie…
Reference in New Issue