From 9403b133f954d05fefa2c4e5d9d132f7dbcc8fea Mon Sep 17 00:00:00 2001 From: InsanusMokrassar Date: Tue, 13 Dec 2022 14:00:13 +0600 Subject: [PATCH] Update ButtonsBuilder.kt --- triggers/timer/src/commonMain/kotlin/ButtonsBuilder.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/triggers/timer/src/commonMain/kotlin/ButtonsBuilder.kt b/triggers/timer/src/commonMain/kotlin/ButtonsBuilder.kt index d78d569..f34b0f5 100644 --- a/triggers/timer/src/commonMain/kotlin/ButtonsBuilder.kt +++ b/triggers/timer/src/commonMain/kotlin/ButtonsBuilder.kt @@ -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)}")