From a23f9036b172870616a58320099b6107c46da31f Mon Sep 17 00:00:00 2001 From: Alexander Borsuk Date: Sat, 25 Mar 2023 19:46:59 +0100 Subject: [PATCH] Replaced uphill and downhill icons with more clear arrows Signed-off-by: Alexander Borsuk --- .../app/organicmaps/routing/RoutingBottomMenuController.java | 2 +- .../RoutePreviewStatus/BaseRoutePreviewStatus.swift | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/android/src/app/organicmaps/routing/RoutingBottomMenuController.java b/android/src/app/organicmaps/routing/RoutingBottomMenuController.java index a3152c6400..525623b58c 100644 --- a/android/src/app/organicmaps/routing/RoutingBottomMenuController.java +++ b/android/src/app/organicmaps/routing/RoutingBottomMenuController.java @@ -265,7 +265,7 @@ final class RoutingBottomMenuController implements View.OnClickListener mAltitudeChart.setImageBitmap(bm); UiUtils.show(mAltitudeChart); final String unit = limits.isMetricUnits ? mAltitudeDifference.getResources().getString(R.string.meter) : mAltitudeDifference.getResources().getString(R.string.foot); - mAltitudeDifference.setText(String.format(Locale.getDefault(), "▲ %d %s ▼ %d %s", + mAltitudeDifference.setText(String.format(Locale.getDefault(), "↗ %d %s ↘ %d %s", limits.totalAscent, unit, limits.totalDescent, unit)); UiUtils.show(mAltitudeDifference); diff --git a/iphone/Maps/Classes/CustomViews/NavigationDashboard/Views/RoutePreview/RoutePreviewStatus/BaseRoutePreviewStatus.swift b/iphone/Maps/Classes/CustomViews/NavigationDashboard/Views/RoutePreview/RoutePreviewStatus/BaseRoutePreviewStatus.swift index 8237acfee7..03a720a638 100644 --- a/iphone/Maps/Classes/CustomViews/NavigationDashboard/Views/RoutePreview/RoutePreviewStatus/BaseRoutePreviewStatus.swift +++ b/iphone/Maps/Classes/CustomViews/NavigationDashboard/Views/RoutePreview/RoutePreviewStatus/BaseRoutePreviewStatus.swift @@ -127,7 +127,7 @@ final class BaseRoutePreviewStatus: SolidTouchView { completion: { image, totalAscent, totalDescent in self.heightProfileImage.image = image if let totalAscent = totalAscent, let totalDescent = totalDescent { - self.elevation = NSAttributedString(string: "▲ \(totalAscent) ▼ \(totalDescent)", attributes: BaseRoutePreviewStatus.elevationAttributes) + self.elevation = NSAttributedString(string: "↗ \(totalAscent) ↘ \(totalDescent)", attributes: BaseRoutePreviewStatus.elevationAttributes) } }) } else {