Show floor()-ed days count till voice chat start.

This commit is contained in:
John Preston 2021-04-13 18:27:38 +04:00
parent d71b6effd6
commit be74a391ba
1 changed files with 1 additions and 1 deletions

View File

@ -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,