2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-02 15:35:51 +00:00

Allow narrow chats width without main section.

This commit is contained in:
John Preston
2024-04-08 12:13:25 +04:00
parent 2f03b9aa29
commit 39658ffe52
7 changed files with 30 additions and 57 deletions

View File

@@ -2871,8 +2871,6 @@ void InnerWidget::refresh(bool toTop) {
jumpToTop();
preloadRowsData();
}
_controller->setDialogsListDisplayForced(
_searchInChat || !_filter.isEmpty());
update();
}
@@ -3060,9 +3058,6 @@ void InnerWidget::searchInChat(
_searchInChatUserpic = {};
}
moveCancelSearchButtons();
_controller->setDialogsListDisplayForced(
_searchInChat || !_filter.isEmpty());
}
auto InnerWidget::searchTagsChanges() const