mirror of
https://github.com/meshtastic/Meshtastic-Apple.git
synced 2026-04-20 22:13:56 +00:00
force slelection of at least one option in the lora / mqtt filters
This commit is contained in:
parent
08a936f7e1
commit
e42b1ae500
1 changed files with 6 additions and 0 deletions
|
|
@ -242,9 +242,15 @@ struct NodeList: View {
|
|||
searchNodeList()
|
||||
}
|
||||
.onChange(of: viaLora) { _ in
|
||||
if !viaLora && !viaMqtt {
|
||||
viaMqtt = true
|
||||
}
|
||||
searchNodeList()
|
||||
}
|
||||
.onChange(of: viaMqtt) { _ in
|
||||
if !viaLora && !viaMqtt {
|
||||
viaLora = true
|
||||
}
|
||||
searchNodeList()
|
||||
}
|
||||
.onChange(of: deviceRole) { _ in
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue