mirror of
https://github.com/oxen-io/session-ios.git
synced 2023-12-13 21:30:14 +01:00
Skip redundant relayout.
// FREEBIE
This commit is contained in:
parent
03df001d73
commit
5ac2f16ebc
|
@ -2930,9 +2930,7 @@ typedef NS_ENUM(NSInteger, MessagesRangeSizeMode) {
|
|||
OWSAssert([NSThread isMainThread]);
|
||||
|
||||
if (!success) {
|
||||
[self resetContentAndLayout];
|
||||
} else {
|
||||
[self.collectionView.collectionViewLayout invalidateLayout];
|
||||
DDLogInfo(@"%@ performBatchUpdates did not finish", self.tag);
|
||||
}
|
||||
|
||||
[self updateLastVisibleTimestamp];
|
||||
|
|
Loading…
Reference in a new issue