Respond to CR.

pull/1/head
Matthew Chen 7 years ago
parent fefc9843b1
commit 9ee572fb24

@ -1531,8 +1531,8 @@ typedef enum : NSUInteger {
- (void)autoLoadMoreIfNecessary - (void)autoLoadMoreIfNecessary
{ {
BOOL isAppInBackground = CurrentAppContext().isInBackground; BOOL isMainAppAndActive = CurrentAppContext().isMainAppAndActive;
if (self.isUserScrolling || !self.isViewVisible || isAppInBackground) { if (self.isUserScrolling || !self.isViewVisible || !isMainAppAndActive) {
return; return;
} }
if (!self.showLoadMoreHeader) { if (!self.showLoadMoreHeader) {

Loading…
Cancel
Save