Updated phrase and colors for force muted state in group calls.

This commit is contained in:
23rd 2020-12-14 16:09:55 +03:00 committed by John Preston
parent 77775b5f7c
commit baba7e272d
3 changed files with 2 additions and 3 deletions

View File

@ -1821,7 +1821,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
"lng_group_call_settings" = "Settings";
"lng_group_call_unmute" = "Unmute";
"lng_group_call_you_are_live" = "You are Live";
"lng_group_call_force_muted" = "You are muted";
"lng_group_call_force_muted" = "You are in Listen Only mode";
"lng_group_call_connecting" = "Connecting...";
"lng_group_call_leave" = "Leave";
"lng_group_call_leave_title" = "Leave voice chat";

View File

@ -80,7 +80,7 @@ auto Colors() {
return base::flat_map<MuteState, Vector>{
{
MuteState::ForceMuted,
Vector{ st::groupCallMembersBg->c, st::groupCallMembersBg->c }
Vector{ st::groupCallForceMuted1->c, st::groupCallForceMuted2->c }
},
{
MuteState::Active,

View File

@ -139,7 +139,6 @@ rpl::producer<Ui::GroupCallBarContent> GroupCallTracker::ContentByCall(
state->current.users.reserve(state->userpics.size());
state->current.users.clear();
state->someUserpicsNotLoaded = false;
using User = Ui::GroupCallBarContent::User;
for (auto &userpic : state->userpics) {
userpic.peer->loadUserpic();
const auto pic = userpic.peer->genUserpic(userpic.view, st.size);