mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-05 05:51:42 +00:00
parent
f200f9504a
commit
6bc94190e8
@ -26,6 +26,10 @@
|
||||
|
||||
- (void)display
|
||||
{
|
||||
if (![self __shouldLoadViewOrLayer]) {
|
||||
return;
|
||||
}
|
||||
|
||||
ASDisplayNodeAssertMainThread();
|
||||
ASDisplayNodeAssert(self.nodeLoaded, @"backing store must be loaded before calling -display");
|
||||
|
||||
@ -45,6 +49,10 @@
|
||||
|
||||
- (void)recursivelyDisplay
|
||||
{
|
||||
if (![self __shouldLoadViewOrLayer]) {
|
||||
return;
|
||||
}
|
||||
|
||||
for (ASDisplayNode *node in self.subnodes) {
|
||||
[node recursivelyDisplay];
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user