[ios] Fixed endless animation.

This commit is contained in:
Ilya Grechuhin 2015-09-16 15:39:35 +03:00 committed by Alex Zolotarev
parent e64a63f434
commit c1ad9d0d7d

View file

@ -39,7 +39,10 @@
- (void)animationDidStop:(CABasicAnimation *)anim finished:(BOOL)flag
{
if (self.nextProgressToAnimate)
{
self.progress = self.nextProgressToAnimate.doubleValue;
self.nextProgressToAnimate = nil;
}
}
#pragma mark - Actions