mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-08-05 15:18:40 +00:00
macOS: fix update error pill is not showing properly (#13540)
`acknowledgement` will call `dismissUpdateInstallation` so the error state will never happen.
This commit is contained in:
@@ -95,14 +95,12 @@ class UpdateDriver: NSObject, SPUUserDriver {
|
||||
delegate.checkForUpdates(self)
|
||||
}
|
||||
},
|
||||
dismiss: { [weak viewModel] in
|
||||
viewModel?.state = .idle
|
||||
dismiss: {
|
||||
acknowledgement()
|
||||
}))
|
||||
|
||||
if !hasUnobtrusiveTarget {
|
||||
standard.showUpdaterError(error, acknowledgement: acknowledgement)
|
||||
} else {
|
||||
acknowledgement()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user