update InfinityPagedComponents

This commit is contained in:
InsanusMokrassar committed 2025-03-03 15:17:54 +06:00
1 parent 659d3b6fa5
commit 24657b43be
2 files changed
+14 -7

No files matched your search

@@ -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()