From 8aacd428b1e2364ec5e962cc85d5ec9e28bb7b69 Mon Sep 17 00:00:00 2001 From: Max Goedjen Date: Sat, 30 Aug 2025 15:41:15 -0700 Subject: [PATCH] Fix deleting key attribution (#648) --- Sources/Secretive/Views/EditSecretView.swift | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Sources/Secretive/Views/EditSecretView.swift b/Sources/Secretive/Views/EditSecretView.swift index 606b130..4690dde 100644 --- a/Sources/Secretive/Views/EditSecretView.swift +++ b/Sources/Secretive/Views/EditSecretView.swift @@ -53,9 +53,7 @@ struct EditSecretView: View { func rename() { var attributes = secret.attributes - if !publicKeyAttribution.isEmpty { - attributes.publicKeyAttribution = publicKeyAttribution - } + attributes.publicKeyAttribution = publicKeyAttribution Task { do { try await store.update(secret: secret, name: name, attributes: attributes)