Merge branch 'hotfix/infinite_loop_via_bottom_progress_bar' into 'release/8_6_0'
Hotfix for infinite loop via bottom progress bar See merge request BPHV_MIPS/mvm_core_ui!671
This commit is contained in:
commit
591fd043f1
@ -824,14 +824,14 @@ CGFloat const PanelAnimationDuration = 0.2;
|
||||
[MVMCoreDispatchUtility performBlockOnMainThread:^{
|
||||
if (self.bottomProgressBarHeightConstraint.constant != PaddingOne) {
|
||||
self.bottomProgressBarHeightConstraint.constant = PaddingOne;
|
||||
[self.bottomProgressBar.superview layoutIfNeeded];
|
||||
[self.bottomProgressBar updateConstraintsIfNeeded];
|
||||
}
|
||||
|
||||
if (progress > 0.05) {
|
||||
self.bottomProgressBar.progress = progress;
|
||||
} else {
|
||||
self.bottomProgressBarHeightConstraint.constant = 0;
|
||||
[self.bottomProgressBar.superview layoutIfNeeded];
|
||||
[self.bottomProgressBar updateConstraintsIfNeeded];
|
||||
}
|
||||
}];
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user