Skip to content

Commit

Permalink
Merge pull request #17 from bqlin/master
Browse files Browse the repository at this point in the history
- fix issues #8.
  • Loading branch information
liufengting authored Sep 8, 2017
2 parents cc49cb1 + 185000d commit c46ed07
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
Binary file removed Demo/.DS_Store
Binary file not shown.
4 changes: 1 addition & 3 deletions FTIndicator/FTProgressIndicator/FTProgressIndicator.m
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,7 @@ - (void)startShowingProgressView
self.progressView.transform = CGAffineTransformScale(CGAffineTransformIdentity, 0.4, 0.4);
self.isDuringAnimation = YES;
self.isCurrentlyOnScreen = YES;
[self startDismissTimer];
[UIView animateWithDuration:kFTProgressDefaultAnimationDuration
delay:0
usingSpringWithDamping:0.5
Expand All @@ -278,9 +279,6 @@ - (void)startShowingProgressView

} completion:^(BOOL finished) {
self.isDuringAnimation = NO;
if (!self.isCurrentlyOnScreen) {
[self startDismissTimer];
}
}];
}

Expand Down

0 comments on commit c46ed07

Please sign in to comment.