Changed markup row width to 2
This commit is contained in:
		@@ -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)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user