mirror of
https://github.com/InsanusMokrassar/PlaguPoster.git
synced 2024-12-22 14:07:14 +00:00
Update ButtonsBuilder.kt
This commit is contained in:
parent
00803fa933
commit
9403b133f9
@ -47,7 +47,7 @@ object ButtonsBuilder {
|
|||||||
dateConverter: (Int) -> DateTimeTz
|
dateConverter: (Int) -> DateTimeTz
|
||||||
): InlineKeyboardMarkup {
|
): InlineKeyboardMarkup {
|
||||||
return inlineKeyboard {
|
return inlineKeyboard {
|
||||||
values.chunked(5).forEach {
|
values.chunked(6).forEach {
|
||||||
row {
|
row {
|
||||||
it.forEach {
|
it.forEach {
|
||||||
dataButton(it.toString(), "$prefix $postId ${dateConverter(it).utc.unixMillisLong.coerceAtLeast(min.unixMillisLong)}")
|
dataButton(it.toString(), "$prefix $postId ${dateConverter(it).utc.unixMillisLong.coerceAtLeast(min.unixMillisLong)}")
|
||||||
|
Loading…
Reference in New Issue
Block a user