mirror of
https://github.com/InsanusMokrassar/MicroUtils.git
synced 2025-09-03 07:09:35 +00:00
fix pagination
This commit is contained in:
@@ -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(
|
||||
|
Reference in New Issue
Block a user