mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 14:17:12 +02:00
Paint unread counter in expanded archive row.
This commit is contained in:
parent
116a598508
commit
ebf46e1270
1 changed files with 8 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue