reverting code which was added for infinite loop crash only in ipads and force crash
This commit is contained in:
parent
591fd043f1
commit
76031200fa
@ -824,14 +824,14 @@ CGFloat const PanelAnimationDuration = 0.2;
|
||||
[MVMCoreDispatchUtility performBlockOnMainThread:^{
|
||||
if (self.bottomProgressBarHeightConstraint.constant != PaddingOne) {
|
||||
self.bottomProgressBarHeightConstraint.constant = PaddingOne;
|
||||
[self.bottomProgressBar updateConstraintsIfNeeded];
|
||||
[self.bottomProgressBar.superview layoutIfNeeded];
|
||||
}
|
||||
|
||||
if (progress > 0.05) {
|
||||
self.bottomProgressBar.progress = progress;
|
||||
} else {
|
||||
self.bottomProgressBarHeightConstraint.constant = 0;
|
||||
[self.bottomProgressBar updateConstraintsIfNeeded];
|
||||
[self.bottomProgressBar.superview layoutIfNeeded];
|
||||
}
|
||||
}];
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user