mirror of
https://codeberg.org/OpenTracksApp/OpenTracks.git
synced 2026-10-06 03:23:07 +02:00
Bugfix: ChartFragment needs to show elevation in M/FT.
This commit is contained in:
@@ -175,7 +175,7 @@ public class PeriodicTaskExecutor {
|
||||
return;
|
||||
}
|
||||
|
||||
double distance = trackStatistics.getTotalDistance().to(metricUnits);
|
||||
double distance = trackStatistics.getTotalDistance().toKM_Miles(metricUnits);
|
||||
|
||||
// The index will be negative since the frequency is negative.
|
||||
int index = (int) (distance / taskFrequency);
|
||||
|
||||
Reference in New Issue
Block a user