mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-30 05:58:38 +00:00
Use regular good-green color in unmute.
This commit is contained in:
parent
cf6d13acc2
commit
c6f49486ee
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user