mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2026-01-04 12:14:29 +00:00
Remove legacy parent pointer of ASLayoutSpec (#2987)
This commit is contained in:
committed by
Adlai Holler
parent
abd9851ddd
commit
aedac5c299
@@ -1114,7 +1114,6 @@ ASLayoutElementFinalLayoutElementDefault
|
||||
ASDisplayNodeAssert(layoutSpec.isMutable, @"Node %@ returned layout spec %@ that has already been used. Layout specs should always be regenerated.", self, layoutSpec);
|
||||
}
|
||||
|
||||
layoutSpec.parent = self;
|
||||
layoutSpec.isMutable = NO;
|
||||
}
|
||||
|
||||
|
||||
@@ -25,11 +25,6 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
*/
|
||||
@property (nonatomic, assign) BOOL isMutable;
|
||||
|
||||
/**
|
||||
* Parent of the layout spec
|
||||
*/
|
||||
@property (nullable, nonatomic, weak) id<ASLayoutElement> parent;
|
||||
|
||||
/**
|
||||
* First child within the children's array.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user