[ASCollectionView] Do not suppress empty updates

This commit is contained in:
Adlai Holler
2016-07-20 12:53:01 -07:00
parent 7096f47f90
commit 6a13c0365b

View File

@@ -1081,7 +1081,7 @@ static NSString * const kCellReuseIdentifier = @"_ASCollectionViewCell";
{
ASDisplayNodeAssertMainThread();
NSUInteger numberOfUpdateBlocks = _batchUpdateBlocks.count;
if (numberOfUpdateBlocks == 0 || !self.asyncDataSource || _superIsPendingDataLoad) {
if (!self.asyncDataSource || _superIsPendingDataLoad) {
if (completion) {
completion(NO);
}