Update ButtonsBuilder.kt

This commit is contained in:
InsanusMokrassar 2022-12-13 14:00:13 +06:00 committed by GitHub
parent 00803fa933
commit 9403b133f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -47,7 +47,7 @@ object ButtonsBuilder {
dateConverter: (Int) -> DateTimeTz
): InlineKeyboardMarkup {
return inlineKeyboard {
values.chunked(5).forEach {
values.chunked(6).forEach {
row {
it.forEach {
dataButton(it.toString(), "$prefix $postId ${dateConverter(it).utc.unixMillisLong.coerceAtLeast(min.unixMillisLong)}")