mirror of
https://github.com/oxen-io/session-ios.git
synced 2023-12-13 21:30:14 +01:00
Bugfix: Fixes crash on multiple update.
This commit is contained in:
parent
80a8c39213
commit
e269bd62ee
|
@ -687,6 +687,7 @@ typedef enum : NSUInteger {
|
|||
return;
|
||||
}
|
||||
|
||||
[self.collectionView performBatchUpdates:^{
|
||||
for (YapDatabaseViewRowChange *rowChange in messageRowChanges)
|
||||
{
|
||||
switch (rowChange.type)
|
||||
|
@ -719,8 +720,9 @@ typedef enum : NSUInteger {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
} completion:^(BOOL finished) {
|
||||
[self finishReceivingMessage];
|
||||
}];
|
||||
}
|
||||
|
||||
#pragma mark - UICollectionView DataSource
|
||||
|
|
Loading…
Reference in a new issue