From 50b120bc22bc5839f5c9efca028c575a59ffa8fe Mon Sep 17 00:00:00 2001 From: John Preston Date: Sun, 7 Jan 2018 15:11:12 +0300 Subject: [PATCH] Fix glitch in single column back button click. --- Telegram/SourceFiles/mainwidget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Telegram/SourceFiles/mainwidget.cpp b/Telegram/SourceFiles/mainwidget.cpp index c587f80b2..5d885ae79 100644 --- a/Telegram/SourceFiles/mainwidget.cpp +++ b/Telegram/SourceFiles/mainwidget.cpp @@ -2297,7 +2297,7 @@ void MainWidget::ui_showPeerHistory( } if (!peerId) { if (Adaptive::OneColumn()) { - return true; + return _dialogs->isHidden(); } else { return false; }