mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
feat: add ok_to_mqtt config
This commit is contained in:
parent
63797ab97a
commit
fbebb52060
1 changed files with 8 additions and 0 deletions
|
|
@ -199,6 +199,14 @@ fun LoRaConfigItemList(
|
|||
}
|
||||
item { Divider() }
|
||||
|
||||
item {
|
||||
SwitchPreference(title = "OK to MQTT",
|
||||
checked = loraInput.configOkToMqtt,
|
||||
enabled = enabled,
|
||||
onCheckedChange = { loraInput = loraInput.copy { configOkToMqtt = it } })
|
||||
}
|
||||
item { Divider() }
|
||||
|
||||
item {
|
||||
PreferenceFooter(
|
||||
enabled = loraInput != loraConfig,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue