Respond to CR.

// FREEBIE
pull/1/head
Matthew Chen 8 years ago
parent 5df4ac92b7
commit 40e04ffb92

@ -2967,8 +2967,9 @@ typedef NS_ENUM(NSInteger, MessagesRangeSizeMode) {
if (shouldAnimateUpdates) { if (shouldAnimateUpdates) {
[self.collectionView performBatchUpdates:batchUpdates completion:batchUpdatesCompletion]; [self.collectionView performBatchUpdates:batchUpdates completion:batchUpdatesCompletion];
} else { } else {
batchUpdates(); [UIView performWithoutAnimation:^{
batchUpdatesCompletion(YES); [self.collectionView performBatchUpdates:batchUpdates completion:batchUpdatesCompletion];
}];
} }
} }

Loading…
Cancel
Save