feat: add wake_on_tap_or_motion config

master
andrekir 2023-03-25 07:10:37 -03:00
rodzic 5d28bfa1c3
commit 189159c293
1 zmienionych plików z 8 dodań i 0 usunięć

Wyświetl plik

@ -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,