fix secret list not updating after rename (#834)

Co-authored-by: Max Goedjen <max.goedjen@gmail.com>
This commit is contained in:
Leonardo RosaandMax Goedjen authored and GitHub committed 2026-11-18 03:30:15 +00:00
1 parent 56c2f841ed
commit 0d1ca5e744
2 files changed
-5

No files matched your search

@@ -23,10 +23,6 @@ extension SecureEnclave {
self.attributes = attributes
}
public static func ==(lhs: Self, rhs: Self) -> Bool {
lhs.id == rhs.id
}
}
}
@@ -21,7 +21,6 @@ struct StoreListView: View {
private func secretRenamed(secret: AnySecret) {
// Pull new version from store, so we get all updated attributes
selection = nil
selection = storeList.allSecrets.first(where: { $0.id == secret.id }).map(StoreListSelection.secret)
}