From c6f49486ee7d983cab5096b1ef16b6469f53e114 Mon Sep 17 00:00:00 2001 From: John Preston Date: Tue, 12 Mar 2024 18:31:48 +0400 Subject: [PATCH] Use regular good-green color in unmute. --- Telegram/SourceFiles/menu/menu_mute.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Telegram/SourceFiles/menu/menu_mute.cpp b/Telegram/SourceFiles/menu/menu_mute.cpp index dd58f6fc0..661ef0672 100644 --- a/Telegram/SourceFiles/menu/menu_mute.cpp +++ b/Telegram/SourceFiles/menu/menu_mute.cpp @@ -111,6 +111,7 @@ MuteItem::MuteItem( isMuted ? 1. : 0., st::defaultPopupMenu.showDuration); }, lifetime()); + _animation.stop(); setClickedCallback([=] { descriptor.updateMutePeriod(_isMuted ? 0 : kMuteForeverValue); @@ -123,7 +124,7 @@ void MuteItem::paintEvent(QPaintEvent *e) { const auto progress = _animation.value(_isMuted ? 1. : 0.); const auto color = anim::color( st::menuIconAttentionColor, - st::settingsIconBg2, + st::boxTextFgGood, progress); p.setPen(color);