mirror of
https://codeberg.org/OpenTracksApp/OpenTracks.git
synced 2026-10-03 09:53:06 +02:00
Refactored stats_content layout to contain all content (not use include).
This commit is contained in:
@@ -193,8 +193,9 @@ public class StringUtils {
|
||||
}
|
||||
String unitString = context.getString(unitId);
|
||||
|
||||
|
||||
if (Double.isNaN(speed_mps) || Double.isInfinite(speed_mps)) {
|
||||
return new Pair<>(null, unitString);
|
||||
speed_mps = 0;
|
||||
}
|
||||
|
||||
speed_mps *= UnitConversions.MS_TO_KMH;
|
||||
|
||||
Reference in New Issue
Block a user