macos: "OK" should dismiss error

This commit is contained in:
Mitchell Hashimoto
2025-10-08 21:16:07 -07:00
parent 95a9e63401
commit 9e17255ca9
5 changed files with 9 additions and 2 deletions

View File

@@ -336,6 +336,7 @@ fileprivate struct UpdateErrorView: View {
HStack(spacing: 8) {
Button("OK") {
error.dismiss()
dismiss()
}
.keyboardShortcut(.cancelAction)