fix pagination
This commit is contained in:
parent
31fdcf74a5
commit
5d0bdb9bcf
|
@ -25,7 +25,7 @@ interface Pagination : ClosedRange<Int> {
|
|||
override val start: Int
|
||||
get() = page * size
|
||||
override val endInclusive: Int
|
||||
get() = lastIndex
|
||||
get() = start + size - 1
|
||||
}
|
||||
|
||||
fun Pagination.intersect(
|
||||
|
|
Loading…
Reference in New Issue