HapeLee 5 месяцев назад
Родитель
Сommit
6749faf6eb
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      app/src/main/java/io/legado/app/ui/main/MainScreen.kt

+ 1 - 1
app/src/main/java/io/legado/app/ui/main/MainScreen.kt

@@ -363,7 +363,7 @@ fun MainScreen(
                                 }
                             ),
                         userScrollEnabled = true,
-                        beyondViewportPageCount = 1
+                        beyondViewportPageCount = 4
                     ) { page ->
                         val destination = destinations.getOrNull(page) ?: return@HorizontalPager
                         when (destination) {