mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 06:07:06 +02:00
Added decimal separators to count of participants in group call bar.
This commit is contained in:
parent
4824b26afd
commit
29663a410a
2 changed files with 5 additions and 2 deletions
|
@ -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.);
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue