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
This commit is contained in:
@@ -462,14 +462,14 @@
|
||||
- (id<MXKRecentCellDataStoring>)cellDataAtIndexPath:(NSIndexPath *)theIndexPath
|
||||
{
|
||||
id<MXKRecentCellDataStoring> cellData = nil;
|
||||
NSInteger row = theIndexPath.row;
|
||||
NSUInteger row = theIndexPath.row;
|
||||
NSInteger section = theIndexPath.section;
|
||||
|
||||
if (self.droppingCellIndexPath && (self.droppingCellIndexPath.section == section))
|
||||
{
|
||||
if (theIndexPath.row > self.droppingCellIndexPath.row)
|
||||
if (row > self.droppingCellIndexPath.row)
|
||||
{
|
||||
row = theIndexPath.row - 1;
|
||||
row --;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user