Fix bot menu button on voice recording.

This commit is contained in:
John Preston 2022-04-14 15:22:10 +04:00
parent 205cd3b751
commit 2996cbc518

View file

@ -4464,6 +4464,8 @@ bool HistoryWidget::updateCmdStartShown() {
? tr::lng_bot_menu_button() ? tr::lng_bot_menu_button()
: rpl::single(_botMenuButtonText)), : rpl::single(_botMenuButtonText)),
st::historyBotMenuButton); st::historyBotMenuButton);
orderWidgets();
_botMenuButton->setTextTransform( _botMenuButton->setTextTransform(
Ui::RoundButton::TextTransform::NoTransform); Ui::RoundButton::TextTransform::NoTransform);
_botMenuButton->setFullRadius(true); _botMenuButton->setFullRadius(true);