Removed text commands from dialogs list.

This commit is contained in:
23rd
2021-12-26 20:17:26 +03:00
committed by John Preston
parent a626364430
commit e451eb5126
3 changed files with 23 additions and 7 deletions
@@ -2348,8 +2348,9 @@ void InnerWidget::refreshSearchInChatLabel() {
const auto fromUserText = tr::lng_dlg_search_from(
tr::now,
lt_user,
textcmdLink(1, from));
_searchFromUserText.setText(
Ui::Text::Link(from),
Ui::Text::WithEntities);
_searchFromUserText.setMarkedText(
st::dialogsSearchFromStyle,
fromUserText,
Ui::DialogTextOptions());