Skip redundant relayout.

// FREEBIE
This commit is contained in:
Matthew Chen 2017-10-26 17:33:44 -04:00
parent 03df001d73
commit 5ac2f16ebc

View file

@ -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];