2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-02 07:25:46 +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

@@ -1892,11 +1892,6 @@ int SessionController::minimalThreeColumnWidth() const {
+ st::columnMinimalWidthThird;
}
bool SessionController::forceWideDialogs() const {
return _dialogsListDisplayForced.current()
|| _dialogsListFocused.current();
}
auto SessionController::computeColumnLayout() const -> ColumnLayout {
auto layout = Adaptive::WindowLayout::OneColumn;