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)