Skip to content

Commit

Permalink
Fix infinite scrolling spinner visible after pull to refresh
Browse files Browse the repository at this point in the history
  • Loading branch information
mardelean committed Apr 5, 2016
1 parent 853ddf1 commit 85f93bf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,7 @@ - (void)updateCollectionViewForBatchResponse:(nonnull BIBatchResponse *)batchRes
if (batchResponse.batchRequest.isPullToRefreshRequest) {
[self.collectionView.pullToRefreshControl endRefreshing];
self.collectionView.BI_infiniteScrollingEnabled = YES;
self.collectionView.infiniteScrollingState = BIInfiniteScrollingStateStopped;
}

// Batch response flags
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@ - (void)updateTableViewForBatchResponse:(nonnull BIBatchResponse *)batchResponse
}
if (batchResponse.batchRequest.isPullToRefreshRequest) {
self.tableView.BI_infiniteScrollingEnabled = YES;
self.tableView.infiniteScrollingState = BIInfiniteScrollingStateStopped;
}

// Batch response flags
Expand Down

0 comments on commit 85f93bf

Please sign in to comment.