mirror of
https://github.com/Bubuni-Team/telegram-bot.git
synced 2026-07-31 00:29:24 +03:00
[core] Reduce chunk to fit option title into button
This commit is contained in:
@@ -184,7 +184,7 @@ public class SettingsHandler : CommonHandler
|
||||
var keyboardLayout = _options.ToAsyncEnumerable()
|
||||
.SelectAwait(async x => await GetKeyboardButton(x))
|
||||
.ToEnumerable()
|
||||
.Chunk(3);
|
||||
.Chunk(2);
|
||||
|
||||
return new InlineKeyboardMarkup(keyboardLayout);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user