mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-22 01:22:46 +02:00
Fix crash when pressing tabs
This commit is contained in:
@@ -110,9 +110,13 @@
|
||||
|
||||
[self.tableViewPaginationThrottler throttle:^{
|
||||
NSInteger section = indexPath.section;
|
||||
if (tableView.numberOfSections <= section)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
NSInteger numberOfRowsInSection = [tableView numberOfRowsInSection:section];
|
||||
if (tableView.numberOfSections > section
|
||||
&& indexPath.row == numberOfRowsInSection - 1)
|
||||
if (indexPath.row == numberOfRowsInSection - 1)
|
||||
{
|
||||
[self->recentsDataSource paginateInSection:section];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user