improved performance and battery usage on older devices
This commit is contained in:
@@ -17,7 +17,7 @@ class GetChatCache extends SimpleCache<GetChatResponse> {
|
||||
lookIntoFuture: GetChatParamsSwitch.off,
|
||||
setReadMarker: GetChatParamsSwitch.on,
|
||||
// Small initial page; also the per-chat offline snapshot written to
|
||||
// localstore. Older messages are paged in on scroll-up via
|
||||
// the request cache. Older messages are paged in on scroll-up via
|
||||
// GetChatHistory. Keep in sync with ChatBloc's _kInitialPageSize.
|
||||
limit: 50,
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user