Reduce initial conversation load window size.

pull/1/head
Matthew Chen 7 years ago
parent 1f3e24ae47
commit 15826cec5d

@ -101,7 +101,7 @@ 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 = 25; static const int kYapDatabasePageSize = 18;
// 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 = 300; static const int kConversationInitialMaxRangeSize = 300;

Loading…
Cancel
Save