mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2026-01-04 12:14:29 +00:00
Revert "Fix ASCollectionView data inconsistency after reloadData"
This reverts commit 50e5cffbe1.
This commit is contained in:
@@ -948,12 +948,10 @@ static NSString * const kCellReuseIdentifier = @"_ASCollectionViewCell";
|
||||
|
||||
if (_performingBatchUpdates) {
|
||||
[_batchUpdateBlocks addObject:^{
|
||||
_superIsPendingDataLoad = YES;
|
||||
[super reloadData];
|
||||
}];
|
||||
} else {
|
||||
[UIView performWithoutAnimation:^{
|
||||
_superIsPendingDataLoad = YES;
|
||||
[super reloadData];
|
||||
}];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user