diff --git a/iphone/Maps/Classes/CustomViews/NavigationDashboard/Views/RoutePreview/RoutePreviewTaxiCell.swift b/iphone/Maps/Classes/CustomViews/NavigationDashboard/Views/RoutePreview/RoutePreviewTaxiCell.swift index 980cc9079b..3ab6ab16be 100644 --- a/iphone/Maps/Classes/CustomViews/NavigationDashboard/Views/RoutePreview/RoutePreviewTaxiCell.swift +++ b/iphone/Maps/Classes/CustomViews/NavigationDashboard/Views/RoutePreview/RoutePreviewTaxiCell.swift @@ -58,14 +58,11 @@ final class RoutePreviewTaxiCell: UICollectionViewCell { let timeString = { () -> String in var timeValue = DateComponentsFormatter.etaString(from: TimeInterval(eta)!)! - switch type { - case .taxi: break - case .uber: break - case .yandex: break - case .maxim: break - case .rutaxi: - timeValue = String(coreFormat: L("place_page_starting_from"), arguments: [timeValue]) + + if type == .rutaxi { + timeValue = String(coreFormat: L("place_page_starting_from"), arguments: [timeValue]); } + return String(coreFormat: L("taxi_wait"), arguments: [timeValue]) }