hotfix in InfinityPagedComponent and PagedComponent

This commit is contained in:
2025-03-03 21:16:34 +06:00
parent d4148d52e3
commit c216dba69d
3 changed files with 19 additions and 19 deletions

View File

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