Auto-extend conversation load window size.

pull/1/head
Matthew Chen 6 years ago
parent 8a6f30518a
commit 6797d43510

@ -1134,6 +1134,10 @@ typedef enum : NSUInteger {
return;
}
// Re-enable prefetching.
strongSelf.collectionView.prefetchingEnabled = YES;
// Try to auto-extend the load window.
BOOL isMainAppAndActive = CurrentAppContext().isMainAppAndActive;
if (strongSelf.isUserScrolling || !strongSelf.isViewVisible || !isMainAppAndActive) {
return;

Loading…
Cancel
Save