mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 14:20:20 +00:00
This reverts commit 209425c22c.
This commit is contained in:
@@ -276,17 +276,4 @@
|
||||
});
|
||||
}
|
||||
|
||||
- (void)dataControllerDidReloadData:(ASDataController *)dataController
|
||||
{
|
||||
ASPerformBlockOnMainThread(^{
|
||||
_rangeIsValid = NO;
|
||||
|
||||
// When reload data we need to make sure that _rangeTypeIndexPaths is cleared as well,
|
||||
// otherwise _updateVisibleNodeIndexPaths may try to retrieve nodes from dataSource that aren't there anymore
|
||||
[_rangeTypeIndexPaths removeAllObjects];
|
||||
|
||||
[_delegate rangeControllerDidReloadData:self];
|
||||
});
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user