mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-24 07:05:35 +00:00
Use children directly instead of fast enumeration of ASEnvironment object (#2015)
This commit is contained in:
committed by
appleguy
parent
589efefcf2
commit
c797fdf23a
@@ -44,7 +44,7 @@ void ASEnvironmentPerformBlockOnObjectAndChildren(id<ASEnvironment> object, void
|
||||
|
||||
block(object);
|
||||
|
||||
for (id<ASEnvironment> child in object) {
|
||||
for (id<ASEnvironment> child in [object children]) {
|
||||
queue.push(child);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user