Fix pagination

pull/69/head
Koitharu 5 years ago
parent 0a8d677fe8
commit c2222344a2
No known key found for this signature in database
GPG Key ID: 8E861F8CE6E7CE27

@ -35,7 +35,7 @@ fun Float.toIntUp(): Int {
infix fun Int.upBy(step: Int): Int {
val mod = this % step
return if (mod == this) {
return if (mod == 0) {
this
} else {
this - mod + step

Loading…
Cancel
Save