mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-24 07:05:35 +00:00
Remove removedSubnodes instead of insertedSubnodes
This commit is contained in:
@@ -792,7 +792,7 @@ static inline void filterNodesInLayoutAtIndexesWithIntersectingNodes(
|
||||
|
||||
- (void)__implicitlyRemoveSubnodes
|
||||
{
|
||||
for (NSInteger i = 0; i < [_insertedSubnodes count]; i++) {
|
||||
for (NSInteger i = 0; i < [_removedSubnodes count]; i++) {
|
||||
[_removedSubnodes[i] removeFromSupernode];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user