feat: add `ignore_mqtt` to LoRa config

ref.: https://github.com/meshtastic/firmware/pull/3117
pull/821/head
andrekir 2024-01-21 06:37:27 -03:00
rodzic 89b508c0cf
commit b972cab214
1 zmienionych plików z 8 dodań i 0 usunięć

Wyświetl plik

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