mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 06:07:06 +02:00
Use regular good-green color in unmute.
This commit is contained in:
parent
cf6d13acc2
commit
c6f49486ee
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue