Added decimal separators to count of participants in group call bar.

This commit is contained in:
23rd 2022-10-08 17:13:26 +03:00 committed by John Preston
parent 4824b26afd
commit 29663a410a
2 changed files with 5 additions and 2 deletions

View file

@ -2357,7 +2357,7 @@ void Panel::refreshTitle() {
auto countText = _call->real(
) | rpl::map([=](not_null<Data::GroupCall*> real) {
return tr::lng_group_call_rtmp_viewers(
lt_count,
lt_count_decimal,
real->fullCountValue(
) | rpl::map([=](int count) {
return std::max(float64(count), 1.);

View file

@ -320,7 +320,10 @@ void GroupCallBar::paint(Painter &p) {
? tr::lng_group_call_starts_channel
: tr::lng_group_call_starts)(tr::now, lt_when, when)
: _content.count > 0
? tr::lng_group_call_members(tr::now, lt_count, _content.count)
? tr::lng_group_call_members(
tr::now,
lt_count_decimal,
_content.count)
: tr::lng_group_call_no_members(tr::now)));
const auto size = st::historyGroupCallUserpics.size;