From 6e9493c7250099381f10456c66633cb848d9ebad Mon Sep 17 00:00:00 2001 From: John Preston Date: Sat, 10 Sep 2022 08:11:58 +0400 Subject: [PATCH] Ignore premium gradient keys when colorizing theme. --- .../SourceFiles/window/themes/window_themes_embedded.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Telegram/SourceFiles/window/themes/window_themes_embedded.cpp b/Telegram/SourceFiles/window/themes/window_themes_embedded.cpp index 45cdbaf543..035baf54f0 100644 --- a/Telegram/SourceFiles/window/themes/window_themes_embedded.cpp +++ b/Telegram/SourceFiles/window/themes/window_themes_embedded.cpp @@ -75,6 +75,11 @@ const auto kColorizeIgnoredKeys = base::flat_set{ { qstr("settingsIconBg6"), qstr("settingsIconBg8"), qstr("settingsIconBgArchive"), + qstr("premiumButtonBg1"), + qstr("premiumButtonBg2"), + qstr("premiumButtonBg3"), + qstr("premiumIconBg1"), + qstr("premiumIconBg2"), } }; style::colorizer::Color cColor(std::string_view hex) {