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
@@ -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;