mirror of
https://github.com/InsanusMokrassar/MicroUtils.git
synced 2024-11-17 13:53:49 +00:00
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
Block a user