From beffe317e2bdcbe887ff0c4b02d4ee880bed3431 Mon Sep 17 00:00:00 2001 From: Ash Date: Mon, 8 Aug 2022 21:25:14 +0800 Subject: [PATCH] Reduce the number of articles loaded per page --- app/src/main/java/me/ash/reader/ui/page/home/HomeViewModel.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/me/ash/reader/ui/page/home/HomeViewModel.kt b/app/src/main/java/me/ash/reader/ui/page/home/HomeViewModel.kt index c7cd375..cf4a7a9 100644 --- a/app/src/main/java/me/ash/reader/ui/page/home/HomeViewModel.kt +++ b/app/src/main/java/me/ash/reader/ui/page/home/HomeViewModel.kt @@ -57,7 +57,7 @@ class HomeViewModel @Inject constructor( it.copy( pagingData = Pager( config = PagingConfig( - pageSize = 100, + pageSize = 50, enablePlaceholders = false, ) ) {