mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-05-03 06:36:58 +02:00
Bug Fix - App crashes on recents refresh
`[__NSArrayM objectAtIndex:]: index 18446744073709551615 beyond bounds for empty array`
This commit is contained in:
@@ -475,19 +475,31 @@
|
||||
|
||||
if (section == favoritesSection)
|
||||
{
|
||||
cellData = [favoriteCellDataArray objectAtIndex:row];
|
||||
if (row < favoriteCellDataArray.count)
|
||||
{
|
||||
cellData = [favoriteCellDataArray objectAtIndex:row];
|
||||
}
|
||||
}
|
||||
else if (section== conversationSection)
|
||||
{
|
||||
cellData = [conversationCellDataArray objectAtIndex:row];
|
||||
if (row < conversationCellDataArray.count)
|
||||
{
|
||||
cellData = [conversationCellDataArray objectAtIndex:row];
|
||||
}
|
||||
}
|
||||
else if (section == lowPrioritySection)
|
||||
{
|
||||
cellData = [lowPriorityCellDataArray objectAtIndex:row];
|
||||
if (row < lowPriorityCellDataArray.count)
|
||||
{
|
||||
cellData = [lowPriorityCellDataArray objectAtIndex:row];
|
||||
}
|
||||
}
|
||||
else if (section == invitesSection)
|
||||
{
|
||||
cellData = [invitesCellDataArray objectAtIndex:row];
|
||||
if (row < invitesCellDataArray.count)
|
||||
{
|
||||
cellData = [invitesCellDataArray objectAtIndex:row];
|
||||
}
|
||||
}
|
||||
|
||||
return cellData;
|
||||
|
||||
Reference in New Issue
Block a user