mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-24 07:05:35 +00:00
Don't load collection/table node just to wait for updates to be committed (#3182)
- Because there would be no update otherwise.
This commit is contained in:
committed by
Michael Schneider
parent
e6ee24debc
commit
bf41847665
@@ -519,7 +519,10 @@
|
||||
|
||||
- (void)waitUntilAllUpdatesAreCommitted
|
||||
{
|
||||
[self.view waitUntilAllUpdatesAreCommitted];
|
||||
ASDisplayNodeAssertMainThread();
|
||||
if (self.nodeLoaded) {
|
||||
[self.view waitUntilAllUpdatesAreCommitted];
|
||||
}
|
||||
}
|
||||
|
||||
- (void)reloadDataWithCompletion:(void (^)())completion
|
||||
|
||||
Reference in New Issue
Block a user