mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-24 07:05:35 +00:00
Merge commit 'ba08ae1318cac3a40c4c0fe6c920e1675117dc2f'
This commit is contained in:
@@ -218,7 +218,9 @@
|
||||
// Intentionally allocate the view here and trigger a layout pass on it, which in turn will trigger the intial data load.
|
||||
// We can get rid of this call later when ASDataController, ASRangeController and ASCollectionLayout can operate without the view.
|
||||
// TODO (ASCL) If this node supports async layout, kick off the initial data load without allocating the view
|
||||
[[self view] layoutIfNeeded];
|
||||
if (CGRectEqualToRect(self.bounds, CGRectZero) == NO) {
|
||||
[[self view] layoutIfNeeded];
|
||||
}
|
||||
}
|
||||
|
||||
#if ASRangeControllerLoggingEnabled
|
||||
|
||||
Reference in New Issue
Block a user