From eb3efd88adf1b72c157f8768aacfcf2d2166c561 Mon Sep 17 00:00:00 2001 From: Garth Vander Houwen Date: Tue, 20 Aug 2024 07:40:20 -0700 Subject: [PATCH] fix return statement --- Meshtastic/Views/Settings/Config/SecurityConfig.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Meshtastic/Views/Settings/Config/SecurityConfig.swift b/Meshtastic/Views/Settings/Config/SecurityConfig.swift index e0e501c5..597324e0 100644 --- a/Meshtastic/Views/Settings/Config/SecurityConfig.swift +++ b/Meshtastic/Views/Settings/Config/SecurityConfig.swift @@ -172,7 +172,7 @@ struct SecurityConfig: View { SaveConfigButton(node: node, hasChanges: $hasChanges) { - if !hasValidAdminKey || !hasValidPrivateKey || !hasValidAdminKey { + if !hasValidPublicKey || !hasValidPrivateKey || !hasValidAdminKey { return }