Beta version 4.15.4: Fix build with Xcode.

This commit is contained in:
John Preston 2024-03-14 22:30:52 +04:00
parent 20db635366
commit f2a54e3cbb

View file

@ -4869,7 +4869,7 @@ bool HistoryWidget::updateCmdStartShown() {
|| (_botMenu.small != textSmall));
if (textChanged) {
_botMenu.text = bot->botInfo->botMenuButtonText;
if (_botMenu.small = textSmall) {
if ((_botMenu.small = textSmall)) {
if (const auto e = FirstEmoji(_botMenu.text); !e.isEmpty()) {
_botMenu.text = e;
}