mirror of
https://github.com/TextureGroup/Texture.git
synced 2026-04-07 19:17:39 +00:00
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:
@@ -1585,7 +1585,10 @@ static NSString * const kReuseIdentifier = @"_ASCollectionReuseIdentifier";
|
||||
|
||||
- (void)setLeadingScreensForBatching:(CGFloat)leadingScreensForBatching
|
||||
{
|
||||
_leadingScreensForBatching = leadingScreensForBatching;
|
||||
if (_leadingScreensForBatching != leadingScreensForBatching) {
|
||||
_leadingScreensForBatching = leadingScreensForBatching;
|
||||
[self _checkForBatchFetching];
|
||||
}
|
||||
}
|
||||
|
||||
- (CGFloat)leadingScreensForBatching
|
||||
|
||||
Reference in New Issue
Block a user