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:
@@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user