Show red mute icon for force-muted.

This commit is contained in:
John Preston 2021-06-14 15:15:33 +04:00
parent 94f10ce72e
commit 7059336ff0

View file

@ -953,9 +953,7 @@ void Members::Controller::rowPaintIcon(
: _coloredCrossLine; : _coloredCrossLine;
const auto color = video const auto color = video
? std::nullopt ? std::nullopt
: std::make_optional(narrow : std::make_optional(st::groupCallMemberMutedIcon->c);
? st::groupCallMemberNotJoinedStatus->c
: st::groupCallMemberMutedIcon->c);
line.paint( line.paint(
p, p,
left, left,
@ -987,9 +985,7 @@ void Members::Controller::rowPaintIcon(
state.speaking); state.speaking);
const auto iconColor = anim::color( const auto iconColor = anim::color(
activeInactiveColor, activeInactiveColor,
(narrow st::groupCallMemberMutedIcon,
? st::groupCallMemberNotJoinedStatus
: st::groupCallMemberMutedIcon),
state.muted); state.muted);
const auto color = video const auto color = video
? std::nullopt ? std::nullopt