Keep update pill visible during checks
This commit is contained in:
parent
8984e8a750
commit
57ae8d9c0c
1 changed files with 10 additions and 0 deletions
|
|
@ -196,6 +196,16 @@ class UpdateDriver: NSObject, SPUUserDriver {
|
|||
standard.dismissUpdateInstallation()
|
||||
return
|
||||
}
|
||||
if case .notFound = viewModel.state {
|
||||
UpdateLogStore.shared.append("dismiss update installation ignored (notFound visible)")
|
||||
standard.dismissUpdateInstallation()
|
||||
return
|
||||
}
|
||||
if case .checking = viewModel.state {
|
||||
UpdateLogStore.shared.append("dismiss update installation ignored (checking)")
|
||||
standard.dismissUpdateInstallation()
|
||||
return
|
||||
}
|
||||
setState(.idle)
|
||||
standard.dismissUpdateInstallation()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue