mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 14:20:20 +00:00
[ASCellNode] Layout delegate should not be public as it must not be reset externally.
Do not call layout delegate method before the cell node is loaded. This can happen if application code calls -setNeedsLayout on the cell manually, and can confuse UIKit state because we submit an empty batch update call on the next runloop.
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
|
||||
#import "ASAssert.h"
|
||||
#import "ASBatchFetching.h"
|
||||
#import "ASCellNode+Internal.h"
|
||||
#import "ASChangeSetDataController.h"
|
||||
#import "ASDelegateProxy.h"
|
||||
#import "ASDisplayNode+Beta.h"
|
||||
|
||||
Reference in New Issue
Block a user