Merge branch 'hotfix/revert_crash_fix_for_prepay' into 'release/8_6_0'

reverting code which was added for infinite loop crash only in ipads and force crash

See merge request BPHV_MIPS/mvm_core_ui!673
This commit is contained in:
Pfeil, Scott Robert 2021-02-18 14:46:31 -05:00
commit 219bb9a46c

View File

@ -824,14 +824,14 @@ CGFloat const PanelAnimationDuration = 0.2;
[MVMCoreDispatchUtility performBlockOnMainThread:^{ [MVMCoreDispatchUtility performBlockOnMainThread:^{
if (self.bottomProgressBarHeightConstraint.constant != PaddingOne) { if (self.bottomProgressBarHeightConstraint.constant != PaddingOne) {
self.bottomProgressBarHeightConstraint.constant = PaddingOne; self.bottomProgressBarHeightConstraint.constant = PaddingOne;
[self.bottomProgressBar updateConstraintsIfNeeded]; [self.bottomProgressBar.superview layoutIfNeeded];
} }
if (progress > 0.05) { if (progress > 0.05) {
self.bottomProgressBar.progress = progress; self.bottomProgressBar.progress = progress;
} else { } else {
self.bottomProgressBarHeightConstraint.constant = 0; self.bottomProgressBarHeightConstraint.constant = 0;
[self.bottomProgressBar updateConstraintsIfNeeded]; [self.bottomProgressBar.superview layoutIfNeeded];
} }
}]; }];
} }