mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-02 05:04:37 -04:00
feat: add double_tap_as_button_press config
This commit is contained in:
@@ -200,6 +200,16 @@ fun DeviceSettingsItemList(viewModel: UIViewModel = viewModel()) {
|
||||
})
|
||||
}
|
||||
|
||||
item {
|
||||
SwitchPreference(title = "Double tap as button press",
|
||||
checked = deviceInput.doubleTapAsButtonPress,
|
||||
enabled = connected,
|
||||
onCheckedChange = {
|
||||
deviceInput = deviceInput.copy { doubleTapAsButtonPress = it }
|
||||
})
|
||||
}
|
||||
item { Divider() }
|
||||
|
||||
item {
|
||||
PreferenceFooter(
|
||||
enabled = deviceInput != localConfig.device,
|
||||
|
||||
Reference in New Issue
Block a user