mirror of
https://github.com/oxen-io/session-ios.git
synced 2023-12-13 21:30:14 +01:00
Respond to CR.
// FREEBIE
This commit is contained in:
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…
Reference in a new issue