Permalink
Browse files

Remove some apparently useless code, should fix #27

  • Loading branch information...
1 parent 7d088c0 commit 97a3959d7ba43564e297f488b241775b86d2f69b @Sephiroth87 committed Sep 10, 2012
Showing with 0 additions and 2 deletions.
  1. +0 −2 ODRefreshControl/ODRefreshControl.m
@@ -387,8 +387,6 @@ - (void)endRefreshing
_ignoreInset = YES;
[blockScrollView setContentInset:self.originalContentInset];
_ignoreInset = NO;
- CGPoint offset = blockScrollView.contentOffset;
- [blockScrollView setContentOffset:offset animated:NO];
_activity.alpha = 0;
_activity.layer.transform = CATransform3DMakeScale(0.1, 0.1, 1);
} completion:^(BOOL finished) {

1 comment on commit 97a3959

Contributor

minorblend commented on 97a3959 Sep 10, 2012

beginRefreshing does the same thing. set offset self.scrollView.contentOffset and then set self.scrollView.contentOffset with offset.

Please sign in to comment.