2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Switch Info between columns and layer.

This commit is contained in:
John Preston
2017-09-19 13:32:34 +03:00
parent 3fbb643d51
commit 5586d231de
11 changed files with 116 additions and 41 deletions

View File

@@ -3417,7 +3417,8 @@ void MainWidget::updateControlsGeometry() {
_dialogs->stopWidthAnimation();
}
if (Adaptive::ThreeColumn()) {
if (!_thirdSection) {
if (!_thirdSection
&& !_controller->takeThirdSectionFromLayer()) {
if (Auth().data().tabbedSelectorSectionEnabled()) {
_history->pushTabbedSelectorToThirdSection();
} else if (Auth().data().thirdSectionInfoEnabled()) {