mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
Remove legacy layout validation code (#2311)
This commit is contained in:
committed by
GitHub
parent
5cd8f28ad5
commit
1abc1a833c
@@ -31,7 +31,6 @@
|
||||
#import "ASInternalHelpers.h"
|
||||
#import "ASLayout.h"
|
||||
#import "ASLayoutSpec.h"
|
||||
#import "ASLayoutValidation.h"
|
||||
#import "ASCellNode+Internal.h"
|
||||
#import "ASWeakProxy.h"
|
||||
|
||||
@@ -2449,9 +2448,6 @@ void recursivelyTriggerDisplayForLayer(CALayer *layer, BOOL shouldBlock)
|
||||
if (isFinalLayoutable) {
|
||||
layout.position = CGPointZero;
|
||||
layout = [ASLayout layoutWithLayoutable:self size:layout.size sublayouts:@[layout]];
|
||||
#if LAYOUT_VALIDATION
|
||||
ASLayoutableValidateLayout(layout);
|
||||
#endif
|
||||
}
|
||||
ASDisplayNodeLogEvent(self, @"computedLayout: %@", layout);
|
||||
return [layout filteredNodeLayoutTree];
|
||||
|
||||
Reference in New Issue
Block a user