update InfinityPagedComponents

This commit is contained in:
2025-03-03 15:17:54 +06:00
parent 659d3b6fa5
commit 24657b43be
2 changed files with 14 additions and 7 deletions

View File

@@ -29,7 +29,13 @@ class InfinityPagedComponentTests {
}
}
) {
assertEquals(expectedList, it)
if (it == null) {
if (this.iterationState.value.second != null) {
assertEquals(0, (this.iterationState.value.second as? SimplePagination) ?.page)
}
} else {
assertEquals(expectedList, it)
}
LaunchedEffect(it ?.size) {
loadNext()