macOS: fix update error pill is not showing properly

This commit is contained in:
Lukas
2026-08-01 15:35:26 +02:00
parent aa21caeaa3
commit cc1d262105

View File

@@ -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()
}
}