fix: 主页面卡顿问题
This commit is contained in:
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) {
|
||||||
|
|||||||
Reference in new issue
Block a user