mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 22:55:00 +00:00
[ASCollectionView] Do not suppress empty updates
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user