mirror of
https://github.com/meshtastic/Meshtastic-Apple.git
synced 2026-04-20 22:13:56 +00:00
on change for node change
This commit is contained in:
parent
6b666f337b
commit
d7ce318b4d
2 changed files with 7 additions and 1 deletions
|
|
@ -1328,6 +1328,9 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"• %@" : {
|
||||
|
||||
},
|
||||
"< 1%" : {
|
||||
"localizations" : {
|
||||
|
|
@ -35105,4 +35108,4 @@
|
|||
}
|
||||
},
|
||||
"version" : "1.0"
|
||||
}
|
||||
}
|
||||
|
|
@ -230,6 +230,9 @@ struct SecurityConfig: View {
|
|||
name: "\(bleManager.connectedPeripheral?.shortName ?? "?")"
|
||||
)
|
||||
})
|
||||
.onChange(of: node) { _, newNode in
|
||||
setSecurityValues()
|
||||
}
|
||||
.onChange(of: isManaged) { _, newIsManaged in
|
||||
if newIsManaged != node?.securityConfig?.isManaged { hasChanges = true }
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue