Fix collapsed narrow archive row display.

This commit is contained in:
John Preston 2022-11-29 18:17:34 +04:00
parent 01748d8aba
commit 03b35457fa

View file

@ -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),
});
}