mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-09-10 14:35:42 +00:00
[ASLayoutSpec] Bug where finalLayoutable was not being called for setChildren
This commit is contained in:
parent
012c927cd8
commit
57ece0f46e
@ -149,7 +149,7 @@ typedef std::map<unsigned long, id<ASLayoutable>, std::less<unsigned long>> ASCh
|
|||||||
|
|
||||||
_children.clear();
|
_children.clear();
|
||||||
[children enumerateObjectsUsingBlock:^(id<ASLayoutable> _Nonnull obj, NSUInteger idx, BOOL * _Nonnull stop) {
|
[children enumerateObjectsUsingBlock:^(id<ASLayoutable> _Nonnull obj, NSUInteger idx, BOOL * _Nonnull stop) {
|
||||||
_children[idx] = obj;
|
_children[idx] = [self layoutableToAddFromLayoutable:obj];
|
||||||
}];
|
}];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user