Location directions fixes

This commit is contained in:
Ilya Laktyushin
2021-10-24 17:04:06 +04:00
parent 173c31ee5b
commit 3f2689d7d0
4 changed files with 83 additions and 11 deletions

View File

@@ -80,7 +80,7 @@ func stringForEstimatedDuration(strings: PresentationStrings, time: Double, form
let string: String
if hours >= 24 {
string = strings.Map_ETADays(days)
} else if hours > 1 {
} else if hours > 0 {
if hours == 1 && minutes == 0 {
string = strings.Map_ETAHours(1)
} else {