mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-01 06:55:58 +00:00
Append server-side topic search results.
This commit is contained in:
@@ -624,9 +624,13 @@ void PaintRow(
|
||||
} else {
|
||||
p.setPen(context.active
|
||||
? st::dialogsNameFgActive
|
||||
: context.selected
|
||||
? st::dialogsArchiveFgOver
|
||||
: st::dialogsArchiveFg);
|
||||
: entry->folder()
|
||||
? (context.selected
|
||||
? st::dialogsArchiveFgOver
|
||||
: st::dialogsArchiveFg)
|
||||
: (context.selected
|
||||
? st::dialogsNameFgOver
|
||||
: st::dialogsNameFg));
|
||||
auto text = entry->chatListName(); // TODO feed name with emoji
|
||||
auto textWidth = st::semiboldFont->width(text);
|
||||
if (textWidth > rectForName.width()) {
|
||||
|
Reference in New Issue
Block a user