mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-05 00:46:08 +00:00
Make dialogs filter onfocused by default.
This commit is contained in:
@@ -1893,12 +1893,8 @@ int SessionController::minimalThreeColumnWidth() const {
|
||||
}
|
||||
|
||||
bool SessionController::forceWideDialogs() const {
|
||||
if (_dialogsListDisplayForced.current()) {
|
||||
return true;
|
||||
} else if (_dialogsListFocused.current()) {
|
||||
return true;
|
||||
}
|
||||
return !content()->isMainSectionShown();
|
||||
return _dialogsListDisplayForced.current()
|
||||
|| _dialogsListFocused.current();
|
||||
}
|
||||
|
||||
auto SessionController::computeColumnLayout() const -> ColumnLayout {
|
||||
|
Reference in New Issue
Block a user