From eb295cb19cdc86858ebd82998c3c2056db6bee27 Mon Sep 17 00:00:00 2001 From: 23rd <23rd@vivaldi.net> Date: Thu, 30 Oct 2025 20:28:22 +0300 Subject: [PATCH] Simplified foreground color of badges in profile top bar. --- .../SourceFiles/info/profile/info_profile_top_bar.cpp | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/Telegram/SourceFiles/info/profile/info_profile_top_bar.cpp b/Telegram/SourceFiles/info/profile/info_profile_top_bar.cpp index dd40ab54c6..45265c348a 100644 --- a/Telegram/SourceFiles/info/profile/info_profile_top_bar.cpp +++ b/Telegram/SourceFiles/info/profile/info_profile_top_bar.cpp @@ -503,15 +503,8 @@ void TopBar::updateCollectibleStatus() { const auto copySt = [&](const style::InfoPeerBadge &st) { auto result = std::make_unique( base::duplicate(st)); - auto fg = std::make_shared( - Ui::BlendColors( - colorProfile->palette.back(), - colorProfile->palette.size() == 1 ? Qt::white : Qt::black, - 0.2)); - result->premiumFg = fg->color(); - return std::shared_ptr( - result.release(), - [fg](style::InfoPeerBadge *ptr) { delete ptr; }); + result->premiumFg = st::groupCallVideoSubTextFg; + return std::shared_ptr(result.release()); }; _botVerifySt = copySt(st::infoColoredBotVerifyBadge); _badgeSt = copySt(st::infoColoredPeerBadge);