Show floor()-ed days count till voice chat start.
This commit is contained in:
parent
d71b6effd6
commit
be74a391ba
|
@ -68,7 +68,7 @@ void GroupCallScheduledLeft::update() {
|
||||||
_late = late;
|
_late = late;
|
||||||
constexpr auto kDay = 24 * 60 * 60;
|
constexpr auto kDay = 24 * 60 * 60;
|
||||||
if (left >= kDay) {
|
if (left >= kDay) {
|
||||||
const auto days = ((left / kDay) + 1);
|
const auto days = (left / kDay);
|
||||||
_textNonNegative = tr::lng_group_call_duration_days(
|
_textNonNegative = tr::lng_group_call_duration_days(
|
||||||
tr::now,
|
tr::now,
|
||||||
lt_count,
|
lt_count,
|
||||||
|
|
Loading…
Reference in New Issue