2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-09-01 07:05:13 +00:00

Collapse forum row height in narrow layout.

This commit is contained in:
John Preston
2022-12-01 21:36:26 +04:00
parent c200263f2e
commit f0b8ccbd71
12 changed files with 92 additions and 43 deletions

View File

@@ -380,13 +380,6 @@ void Entry::updateChatListEntryPostponed() {
}
void Entry::updateChatListEntryHeight() {
auto &filters = _owner->chatsFilters();
for (auto &[filterId, rows] : _chatListLinks) {
const auto list = filterId
? filters.chatsList(filterId)
: _owner->chatsList(folder());
list->updateEntryHeight(rows);
}
session().changes().entryUpdated(this, Data::EntryUpdate::Flag::Height);
}