Respond to CR.

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

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

Loading…
Cancel
Save