mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-05 09:05:14 +00:00
Fixes for compact chat list
* Links were parsed in chat name * Second line of text was partially shown in global search results
This commit is contained in:
@@ -379,7 +379,8 @@ void paintOneLineRow(
|
||||
}
|
||||
|
||||
if (!(from && (flags & Flag::SearchResult))) {
|
||||
Ui::Text::String textStr = { st::dialogsTextStyle, text };
|
||||
Ui::Text::String textStr;
|
||||
textStr.setText(st::dialogsTextStyle, text, Ui::NameTextOptions());
|
||||
textStr.drawElided(p, rectForName.left(), rectForName.top(), rectForName.width());
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user