Fix notifications settings in dark system themes.

This commit is contained in:
John Preston 2022-03-08 18:19:32 +04:00
parent 3644dfd6fc
commit 8259f74074
1 changed files with 2 additions and 0 deletions

View File

@ -607,6 +607,8 @@ void NotifyPreview::paint(Painter &p, int x, int y) {
p.drawImage(userpic.topLeft(), _logo);
}
p.setPen(st::historyTextInFg);
const auto &title = _nameShown ? _name : _title;
title.drawElided(
p,