Check if we need to do a batch update

If we've changed our leading screens for batch fetching, we
may need to batch fetch.
This commit is contained in:
Garrett Moon
2017-10-19 16:39:01 -07:00
parent 526a7cfb53
commit 162dffcd48
+4 -1
View File
@@ -1585,7 +1585,10 @@ static NSString * const kReuseIdentifier = @"_ASCollectionReuseIdentifier";
- (void)setLeadingScreensForBatching:(CGFloat)leadingScreensForBatching
{
_leadingScreensForBatching = leadingScreensForBatching;
if (_leadingScreensForBatching != leadingScreensForBatching) {
_leadingScreensForBatching = leadingScreensForBatching;
[self _checkForBatchFetching];
}
}
- (CGFloat)leadingScreensForBatching