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 2f9f3e6c72
commit 35561336c6

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?