mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-24 07:05:35 +00:00
[ASViewController] fix layout recursion (#2218)
I don’t think this `setNeedsLayout` is required since we call `measure` now.
This commit is contained in:
@@ -304,7 +304,6 @@ ASVisibilityDepthImplementation;
|
||||
// once we've propagated all the traits, layout this node.
|
||||
// Remeasure the node with the latest constrained size – old constrained size may be incorrect.
|
||||
[self.node layoutThatFits:[self nodeConstrainedSize]];
|
||||
[self.node setNeedsLayout];
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user