feat: add ignore_mqtt to LoRa config

ref.: https://github.com/meshtastic/firmware/pull/3117
This commit is contained in:
andrekir 2024-01-21 06:37:27 -03:00
parent 89b508c0cf
commit b972cab214

View file

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