mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-18 23:27:09 +02:00
Fix collapsed narrow archive row display.
This commit is contained in:
parent
01748d8aba
commit
03b35457fa
1 changed files with 3 additions and 1 deletions
|
@ -867,10 +867,12 @@ void InnerWidget::paintCollapsedRow(
|
|||
|
||||
const auto text = row->folder->chatListName();
|
||||
const auto unread = row->folder->chatListBadgesState().unreadCounter;
|
||||
const auto fullWidth = width();
|
||||
Ui::PaintCollapsedRow(p, row->row, row->folder, text, unread, {
|
||||
.st = _st,
|
||||
.width = width(),
|
||||
.width = fullWidth,
|
||||
.selected = selected,
|
||||
.narrow = (fullWidth < st::columnMinimalWidthLeft),
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue