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;
|
||||
constexpr auto kDay = 24 * 60 * 60;
|
||||
if (left >= kDay) {
|
||||
const auto days = ((left / kDay) + 1);
|
||||
const auto days = (left / kDay);
|
||||
_textNonNegative = tr::lng_group_call_duration_days(
|
||||
tr::now,
|
||||
lt_count,
|
||||
|
|
Loading…
Reference in New Issue