Changed markup row width to 2
This commit is contained in:
parent
c5855fced7
commit
e9eac89d09
@ -71,7 +71,7 @@ pub fn account_markup(name: &str, is_encrypted: bool, locale: LocaleRef) -> Inli
|
|||||||
]
|
]
|
||||||
.into_iter()
|
.into_iter()
|
||||||
.map(|(text, command)| make_button(text, command, hash))
|
.map(|(text, command)| make_button(text, command, hash))
|
||||||
.chunks(3);
|
.chunks(2);
|
||||||
|
|
||||||
let menu_button = InlineKeyboardButton::callback(locale.menu_button.as_ref(), "get_menu");
|
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")]
|
let languages = [("🇷🇺 Русский", "ru"), ("🇬🇧 English", "en")]
|
||||||
.into_iter()
|
.into_iter()
|
||||||
.map(|(text, param)| make_button(text, "change_locale", param))
|
.map(|(text, param)| make_button(text, "change_locale", param))
|
||||||
.chunks(3);
|
.chunks(2);
|
||||||
InlineKeyboardMarkup::new(&languages)
|
InlineKeyboardMarkup::new(&languages)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user