Updated phrase and colors for force muted state in group calls.
This commit is contained in:
parent
77775b5f7c
commit
baba7e272d
|
@ -1821,7 +1821,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
||||||
"lng_group_call_settings" = "Settings";
|
"lng_group_call_settings" = "Settings";
|
||||||
"lng_group_call_unmute" = "Unmute";
|
"lng_group_call_unmute" = "Unmute";
|
||||||
"lng_group_call_you_are_live" = "You are Live";
|
"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_connecting" = "Connecting...";
|
||||||
"lng_group_call_leave" = "Leave";
|
"lng_group_call_leave" = "Leave";
|
||||||
"lng_group_call_leave_title" = "Leave voice chat";
|
"lng_group_call_leave_title" = "Leave voice chat";
|
||||||
|
|
|
@ -80,7 +80,7 @@ auto Colors() {
|
||||||
return base::flat_map<MuteState, Vector>{
|
return base::flat_map<MuteState, Vector>{
|
||||||
{
|
{
|
||||||
MuteState::ForceMuted,
|
MuteState::ForceMuted,
|
||||||
Vector{ st::groupCallMembersBg->c, st::groupCallMembersBg->c }
|
Vector{ st::groupCallForceMuted1->c, st::groupCallForceMuted2->c }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
MuteState::Active,
|
MuteState::Active,
|
||||||
|
|
|
@ -139,7 +139,6 @@ rpl::producer<Ui::GroupCallBarContent> GroupCallTracker::ContentByCall(
|
||||||
state->current.users.reserve(state->userpics.size());
|
state->current.users.reserve(state->userpics.size());
|
||||||
state->current.users.clear();
|
state->current.users.clear();
|
||||||
state->someUserpicsNotLoaded = false;
|
state->someUserpicsNotLoaded = false;
|
||||||
using User = Ui::GroupCallBarContent::User;
|
|
||||||
for (auto &userpic : state->userpics) {
|
for (auto &userpic : state->userpics) {
|
||||||
userpic.peer->loadUserpic();
|
userpic.peer->loadUserpic();
|
||||||
const auto pic = userpic.peer->genUserpic(userpic.view, st.size);
|
const auto pic = userpic.peer->genUserpic(userpic.view, st.size);
|
||||||
|
|
Loading…
Reference in New Issue