fix: 主页面卡顿问题

This commit is contained in:
HapeLee committed 2026-06-10 01:45:32 +08:00
1 parent 43d5f6d5e2
commit 6749faf6eb
1 file changed
+1 -1
@@ -363,7 +363,7 @@ fun MainScreen(
} }
), ),
userScrollEnabled = true, userScrollEnabled = true,
beyondViewportPageCount = 1 beyondViewportPageCount = 4
) { page -> ) { page ->
val destination = destinations.getOrNull(page) ?: return@HorizontalPager val destination = destinations.getOrNull(page) ?: return@HorizontalPager
when (destination) { when (destination) {