rework InfinityPagedComponent

This commit is contained in:
2025-03-04 09:23:33 +06:00
parent c216dba69d
commit b9977527b2
2 changed files with 19 additions and 24 deletions

View File

@@ -30,9 +30,7 @@ class InfinityPagedComponentTests {
}
) {
if (it == null) {
if (this.iterationState.value != null) {
assertEquals(0, (this.iterationState.value as? SimplePagination) ?.page)
}
assertEquals(0, this.currentlyLoadingPage.value ?.page)
} else {
assertEquals(expectedList, it)
}