fix pagination

This commit is contained in:
InsanusMokrassar committed 2021-11-19 13:58:59 +06:00
1 parent 31fdcf74a5
commit 5d0bdb9bcf
1 file changed
+1 -1
@@ -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(