Fixes delay updating UI after cancelling installing app

This commit is contained in:
Riley Testut
2022-11-21 17:01:24 -06:00
committed by Magesh K
parent 2e27447e36
commit a6d9e32dfe

View File

@@ -75,6 +75,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?