mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-24 07:05:35 +00:00
Initialize _asyncDelegateImplementsScrollviewDidScroll so we forward scollViewDidScroll: calls
This commit is contained in:
@@ -287,8 +287,10 @@ static NSString * const kCellReuseIdentifier = @"_ASTableViewCell";
|
||||
if (asyncDelegate == nil) {
|
||||
_asyncDelegate = nil;
|
||||
_proxyDelegate = _isDeallocating ? nil : [[ASTableViewProxy alloc] initWithTarget:nil interceptor:self];
|
||||
_asyncDelegateImplementsScrollviewDidScroll = NO;
|
||||
} else {
|
||||
_asyncDelegate = asyncDelegate;
|
||||
_asyncDelegateImplementsScrollviewDidScroll = [_asyncDelegate respondsToSelector:@selector(scrollViewDidScroll:)];
|
||||
_proxyDelegate = [[ASTableViewProxy alloc] initWithTarget:_asyncDelegate interceptor:self];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user