[修复] 发现页某些情况下没有加载最后一页的问题

This commit is contained in:
HapeLee
2025-12-03 01:12:21 +08:00
parent e51769a22c
commit a28af43107
@@ -239,7 +239,7 @@ fun ExploreShowScreen(
derivedStateOf {
val totalItems = listState.layoutInfo.totalItemsCount
val lastVisibleIndex = listState.layoutInfo.visibleItemsInfo.lastOrNull()?.index ?: 0
totalItems > 0 && lastVisibleIndex >= totalItems - 9
totalItems > 0 && lastVisibleIndex >= totalItems - 5
}
}