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]);
|
OWSAssert([NSThread isMainThread]);
|
||||||
|
|
||||||
if (!success) {
|
if (!success) {
|
||||||
[self resetContentAndLayout];
|
DDLogInfo(@"%@ performBatchUpdates did not finish", self.tag);
|
||||||
} else {
|
|
||||||
[self.collectionView.collectionViewLayout invalidateLayout];
|
|
||||||
}
|
}
|
||||||
|
|
||||||
[self updateLastVisibleTimestamp];
|
[self updateLastVisibleTimestamp];
|
||||||
|
|
Loading…
Reference in a new issue