mirror of
https://github.com/InsanusMokrassar/MicroUtils.git
synced 2026-11-05 11:34:37 +00:00
update InfinityPagedComponents
This commit is contained in:
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()
|
||||
|
||||
Reference in new issue
Block a user