forked from organicmaps/organicmaps
Replaced uphill and downhill icons with more clear arrows
Signed-off-by: Alexander Borsuk <me@alex.bio>
This commit is contained in:
parent
8b4cb8d662
commit
a23f9036b1
2 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Add table
Reference in a new issue