mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
feat: add ignore_mqtt to LoRa config
ref.: https://github.com/meshtastic/firmware/pull/3117
This commit is contained in:
parent
89b508c0cf
commit
b972cab214
1 changed files with 8 additions and 0 deletions
|
|
@ -181,6 +181,14 @@ fun LoRaConfigItemList(
|
|||
onValueChanged = { loraInput = loraInput.copy { overrideFrequency = it } })
|
||||
}
|
||||
|
||||
item {
|
||||
SwitchPreference(title = "Ignore MQTT",
|
||||
checked = loraInput.ignoreMqtt,
|
||||
enabled = enabled,
|
||||
onCheckedChange = { loraInput = loraInput.copy { ignoreMqtt = it } })
|
||||
}
|
||||
item { Divider() }
|
||||
|
||||
item {
|
||||
PreferenceFooter(
|
||||
enabled = loraInput != loraConfig,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue