mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-10 15:23:27 +01:00
Fixes delay updating UI after cancelling installing app
This commit is contained in:
@@ -77,6 +77,13 @@ class AppOperationContext
|
||||
}
|
||||
set {
|
||||
_error = newValue
|
||||
|
||||
if self.authenticatedContext.error == nil
|
||||
{
|
||||
// Assign newValue to authenticatedContext.error if the latter is nil.
|
||||
// This fixes some operations continuing even after an error has occured.
|
||||
self.authenticatedContext.error = newValue
|
||||
}
|
||||
}
|
||||
}
|
||||
private var _error: Error?
|
||||
|
||||
Reference in New Issue
Block a user