mirror of
https://github.com/maxgoedjen/secretive.git
synced 2025-09-20 03:10:57 +00:00
Merge branch 'main' into comment_writer
This commit is contained in:
commit
42260d6150
@ -53,7 +53,7 @@ struct EditSecretView<StoreType: SecretStoreModifiable>: View {
|
|||||||
|
|
||||||
func rename() {
|
func rename() {
|
||||||
var attributes = secret.attributes
|
var attributes = secret.attributes
|
||||||
attributes.publicKeyAttribution = publicKeyAttribution
|
attributes.publicKeyAttribution = publicKeyAttribution.isEmpty ? nil : 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)
|
||||||
|
Loading…
Reference in New Issue
Block a user