Merge branch 'main' into name-as-comment

This commit is contained in:
Max Goedjen 2025-08-31 13:49:25 -07:00 committed by GitHub
commit af562c8921
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -53,9 +53,7 @@ struct EditSecretView<StoreType: SecretStoreModifiable>: View {
func rename() { func rename() {
var attributes = secret.attributes var attributes = secret.attributes
if !publicKeyAttribution.isEmpty { attributes.publicKeyAttribution = publicKeyAttribution
attributes.publicKeyAttribution = publicKeyAttribution
}
Task { Task {
do { do {
try await store.update(secret: secret, name: name, attributes: attributes) try await store.update(secret: secret, name: name, attributes: attributes)