[ASLayoutSpec] Bug where finalLayoutable was not being called for setChildren

This commit is contained in:
ricky 2016-07-11 09:54:03 -07:00
parent 012c927cd8
commit 57ece0f46e

View File

@ -149,7 +149,7 @@ typedef std::map<unsigned long, id<ASLayoutable>, std::less<unsigned long>> ASCh
_children.clear();
[children enumerateObjectsUsingBlock:^(id<ASLayoutable> _Nonnull obj, NSUInteger idx, BOOL * _Nonnull stop) {
_children[idx] = obj;
_children[idx] = [self layoutableToAddFromLayoutable:obj];
}];
}