Fix deleting key attribution (#648)

Este commit está contenido en:
Max Goedjen
2025-08-30 15:41:15 -07:00
cometido por GitHub
padre c2eb5ce1f6
commit 8aacd428b1

Ver fichero

@@ -53,9 +53,7 @@ struct EditSecretView<StoreType: SecretStoreModifiable>: 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)