mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02:00
photos redesign improved
This commit is contained in:
@@ -207,7 +207,7 @@ void NotifyWindow::updateNotifyDisplay() {
|
||||
item->drawInDialog(p, r, active, textCachedFor, itemTextCache);
|
||||
} else {
|
||||
p.setFont(st::dlgHistFont->f);
|
||||
if (item->displayFromName() && !item->fromChannel()) {
|
||||
if (item->hasFromName() && !item->fromChannel()) {
|
||||
itemTextCache.setText(st::dlgHistFont, item->from()->name);
|
||||
p.setPen(st::dlgSystemColor->p);
|
||||
itemTextCache.drawElided(p, r.left(), r.top(), r.width(), st::dlgHistFont->height);
|
||||
|
||||
Reference in New Issue
Block a user