mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-11-29 11:25:38 +00:00
commit
d993730a7d
@ -317,7 +317,11 @@ static BOOL _isInterceptedSelector(SEL sel)
|
|||||||
- (NSInteger)rangeControllerSections:(ASRangeController *)rangeController
|
- (NSInteger)rangeControllerSections:(ASRangeController *)rangeController
|
||||||
{
|
{
|
||||||
ASDisplayNodeAssertMainThread();
|
ASDisplayNodeAssertMainThread();
|
||||||
|
if ([_asyncDataSource respondsToSelector:@selector(numberOfSectionsInTableView:)]) {
|
||||||
return [_asyncDataSource numberOfSectionsInTableView:self];
|
return [_asyncDataSource numberOfSectionsInTableView:self];
|
||||||
|
} else {
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
- (NSInteger)rangeController:(ASRangeController *)rangeController rowsInSection:(NSInteger)section
|
- (NSInteger)rangeController:(ASRangeController *)rangeController rowsInSection:(NSInteger)section
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user