Bugfix: ChartFragment needs to show elevation in M/FT.

This commit is contained in:
Dennis Guse
2021-04-30 22:17:04 +02:00
parent 6723bfb979
commit 1baf652b81
6 changed files with 10 additions and 22 deletions
@@ -993,7 +993,7 @@ public class ChartView extends View {
private double getMarkerXValue(Marker marker) {
if (chartByDistance) {
return marker.getLength().to(metricUnits);
return marker.getLength().toKM_Miles(metricUnits);
} else {
return marker.getDuration().toMillis();
}