Respond to CR.

// FREEBIE
pull/1/head
Matthew Chen 8 years ago
parent 57b76b3411
commit b28a6bab26

@ -2422,6 +2422,7 @@ typedef NS_ENUM(NSInteger, MessagesRangeSizeMode) {
NSUInteger targetLength = oldLength;
if (mode == MessagesRangeSizeMode_Truncate) {
// During the initial configuration of the view, we want to truncate the
// range size.
targetLength = MIN(targetLength, (NSUInteger)(kYapDatabasePageSize * kYapDatabaseMaxInitialPageCount));
}

Loading…
Cancel
Save