Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix for tables with section headers and contentInset

  • Loading branch information...
commit 7d088c087310ce89d62f7662a49cb890369a2738 1 parent 5e336c5
@Sephiroth87 authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  ODRefreshControl/ODRefreshControl.m
View
2  ODRefreshControl/ODRefreshControl.m
@@ -186,7 +186,7 @@ - (void)observeValueForKeyPath:(NSString *)keyPath ofObject:(id)object change:(N
[self.scrollView setContentInset:UIEdgeInsetsMake(kOpenedViewHeight + self.originalContentInset.top, self.originalContentInset.left, self.originalContentInset.bottom, self.originalContentInset.right)];
}
} else if (_didSetInset && _hasSectionHeaders) {
- [self.scrollView setContentInset:UIEdgeInsetsMake(-offset, self.originalContentInset.left, self.originalContentInset.bottom, self.originalContentInset.right)];
+ [self.scrollView setContentInset:UIEdgeInsetsMake(-offset + self.originalContentInset.top, self.originalContentInset.left, self.originalContentInset.bottom, self.originalContentInset.right)];
}
}
} else if (_hasSectionHeaders) {
Please sign in to comment.
Something went wrong with that request. Please try again.