We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 546e1b8 + be82b3d commit bad1a87Copy full SHA for bad1a87
INSPullToRefresh/INSPullToRefreshBackgroundView.m
@@ -380,9 +380,7 @@ - (void)setScrollViewContentInset:(UIEdgeInsets)contentInset {
380
BOOL alreadyUpdating = _updatingScrollViewContentInset; // Check to prevent errors from recursive calls.
381
if (!alreadyUpdating) {
382
self.updatingScrollViewContentInset = YES;
383
- }
384
- self.scrollView.contentInset = contentInset;
385
- if (!alreadyUpdating) {
+ self.scrollView.contentInset = contentInset;
386
self.updatingScrollViewContentInset = NO;
387
}
388
0 commit comments