Fix crash

pull/391/head
Niels Andriesse 4 years ago
parent 51576acec1
commit 1b834978df

@ -170,10 +170,10 @@ NS_ASSUME_NONNULL_BEGIN
// //
// PERF: we could do less messages on shorter (older, slower) devices // PERF: we could do less messages on shorter (older, slower) devices
// PERF: we could cache the cell height, since some messages will be much taller. // PERF: we could cache the cell height, since some messages will be much taller.
static const int kYapDatabasePageSize = 100; static const int kYapDatabasePageSize = 25000;
// Never show more than n messages in conversation view when user arrives. // Never show more than n messages in conversation view when user arrives.
static const int kConversationInitialMaxRangeSize = 100; static const int kConversationInitialMaxRangeSize = 25000;
// Never show more than n messages in conversation view at a time. // Never show more than n messages in conversation view at a time.
static const int kYapDatabaseRangeMaxLength = 25000; static const int kYapDatabaseRangeMaxLength = 25000;

Loading…
Cancel
Save