mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 22:55:00 +00:00
Remove unused cell node method (#278)
This commit is contained in:
@@ -1829,21 +1829,6 @@ static NSString * const kCellReuseIdentifier = @"_ASTableViewCell";
|
||||
[self setNeedsLayout];
|
||||
}
|
||||
|
||||
- (void)nodeDidRelayout:(ASCellNode *)node sizeChanged:(BOOL)sizeChanged
|
||||
{
|
||||
ASDisplayNodeAssertMainThread();
|
||||
|
||||
if (!sizeChanged || _queuedNodeHeightUpdate || _remeasuringCellNodes) {
|
||||
return;
|
||||
}
|
||||
|
||||
_queuedNodeHeightUpdate = YES;
|
||||
[self performSelector:@selector(requeryNodeHeights)
|
||||
withObject:nil
|
||||
afterDelay:0
|
||||
inModes:@[ NSRunLoopCommonModes ]];
|
||||
}
|
||||
|
||||
// Cause UITableView to requery for the new height of this node
|
||||
- (void)requeryNodeHeights
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user