fix pagination

This commit is contained in:
InsanusMokrassar 2021-11-19 13:58:59 +06:00
parent 31fdcf74a5
commit 5d0bdb9bcf

View File

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