From 8175fd19dee7b3957850cad80deda5cebd0c7688 Mon Sep 17 00:00:00 2001 From: 23rd <23rd@vivaldi.net> Date: Thu, 13 Oct 2022 19:13:53 +0300 Subject: [PATCH] Fixed position of toggle menu button in downloads narrow section. --- Telegram/SourceFiles/info/info_wrap_widget.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Telegram/SourceFiles/info/info_wrap_widget.cpp b/Telegram/SourceFiles/info/info_wrap_widget.cpp index 42cd1066cc..2d53f03162 100644 --- a/Telegram/SourceFiles/info/info_wrap_widget.cpp +++ b/Telegram/SourceFiles/info/info_wrap_widget.cpp @@ -503,6 +503,8 @@ bool WrapWidget::requireTopBarSearch() const { } else if (_controller->wrap() == Wrap::Layer || _controller->section().type() == Section::Type::Profile) { return false; + } else if (key().isDownloads()) { + return false; } else if (hasStackHistory()) { return true; }