mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-03-11 08:48:14 +00:00
Paint unread counter in expanded archive row.
This commit is contained in:
parent
116a598508
commit
ebf46e1270
@ -371,10 +371,17 @@ void PaintRow(
|
||||
}
|
||||
auto texttop = context.st->textTop;
|
||||
if (const auto folder = entry->asFolder()) {
|
||||
const auto availableWidth = PaintWideCounter(
|
||||
p,
|
||||
context,
|
||||
badgesState,
|
||||
texttop,
|
||||
namewidth,
|
||||
false);
|
||||
const auto rect = QRect(
|
||||
nameleft,
|
||||
texttop,
|
||||
namewidth,
|
||||
availableWidth,
|
||||
st::dialogsTextFont->height);
|
||||
PaintFolderEntryText(p, folder, context, rect);
|
||||
} else if (promoted && !history->topPromotionMessage().isEmpty()) {
|
||||
|
Loading…
Reference in New Issue
Block a user