Changed markup row width to 2

This commit is contained in:
StNicolay 2024-04-16 18:06:11 +03:00
parent c5855fced7
commit e9eac89d09
Signed by: StNicolay
GPG Key ID: 9693D04DCD962B0D

View File

@ -71,7 +71,7 @@ pub fn account_markup(name: &str, is_encrypted: bool, locale: LocaleRef) -> Inli
]
.into_iter()
.map(|(text, command)| make_button(text, command, hash))
.chunks(3);
.chunks(2);
let menu_button = InlineKeyboardButton::callback(locale.menu_button.as_ref(), "get_menu");
@ -83,7 +83,7 @@ pub fn language_markup() -> InlineKeyboardMarkup {
let languages = [("🇷🇺 Русский", "ru"), ("🇬🇧 English", "en")]
.into_iter()
.map(|(text, param)| make_button(text, "change_locale", param))
.chunks(3);
.chunks(2);
InlineKeyboardMarkup::new(&languages)
}