Display 1 hour to close properly

Signed-off-by: BelKed <66956532+BelKed@users.noreply.github.com>
This commit is contained in:
BelKed 2022-11-12 13:53:35 +01:00 committed by Alexander Borsuk
parent e065c76571
commit d2708ce7ba

View file

@ -216,7 +216,7 @@ final class PlacePagePreviewViewController: UIViewController {
private func getTimeIntervalString(minutes: Int) -> String {
var str = "";
if (minutes > 60)
if (minutes >= 60)
{
str = String(minutes / 60) + " " + L("hour") + " ";
}