diff --git a/pagination/common/src/commonMain/kotlin/dev/inmo/micro_utils/pagination/Pagination.kt b/pagination/common/src/commonMain/kotlin/dev/inmo/micro_utils/pagination/Pagination.kt index b20a778af2f..d6d70d24748 100644 --- a/pagination/common/src/commonMain/kotlin/dev/inmo/micro_utils/pagination/Pagination.kt +++ b/pagination/common/src/commonMain/kotlin/dev/inmo/micro_utils/pagination/Pagination.kt @@ -25,7 +25,7 @@ interface Pagination : ClosedRange { override val start: Int get() = page * size override val endInclusive: Int - get() = lastIndex + get() = start + size - 1 } fun Pagination.intersect(