Add change events for all keys

This commit is contained in:
Garth Vander Houwen 2024-08-18 11:43:42 -07:00
parent aad3bd4f89
commit 8b2bc246dd

View file

@ -120,6 +120,12 @@ struct SecurityConfig: View {
.onChange(of: adminChannelEnabled) {
if $0 != node?.securityConfig?.adminChannelEnabled { hasChanges = true }
}
.onChange(of: publicKey) { _ in
hasChanges = true
}
.onChange(of: privateKey) { _ in
hasChanges = true
}
.onChange(of: adminKey) { _ in
hasChanges = true
}