From 1e3b72ab74d57f87741327d7f1f0982bd4ad77a6 Mon Sep 17 00:00:00 2001 From: John Preston Date: Mon, 2 Sep 2019 15:25:45 +0300 Subject: [PATCH] Ignore background when checking which theme is used. --- Telegram/SourceFiles/settings/settings_chat.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/Telegram/SourceFiles/settings/settings_chat.cpp b/Telegram/SourceFiles/settings/settings_chat.cpp index a27e16adf..6099f35cc 100644 --- a/Telegram/SourceFiles/settings/settings_chat.cpp +++ b/Telegram/SourceFiles/settings/settings_chat.cpp @@ -1089,9 +1089,6 @@ void SetupDefaultThemes(not_null container) { container.get()); const auto chosen = [] { - if (Window::Theme::IsNonDefaultBackground()) { - return Type(-1); - } const auto path = Window::Theme::Background()->themeAbsolutePath(); for (const auto &scheme : kSchemesList) { if (path == scheme.path) {