Skip redundant relayout.

// FREEBIE
pull/1/head
Matthew Chen 8 years ago
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…
Cancel
Save