Fixes delay updating UI after cancelling installing app

This commit is contained in:
Riley Testut
2022-11-21 17:01:24 -06:00
parent dbd71050ac
commit 40af2fe313

View File

@@ -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?