Paint unread counter in expanded archive row.

This commit is contained in:
John Preston 2022-11-23 22:56:37 +01:00
parent 116a598508
commit ebf46e1270

View File

@ -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()) {