From 970ce86ca58e597c8b139a15c51f98ed86e7378c Mon Sep 17 00:00:00 2001 From: sonora Date: Sat, 18 Jul 2015 17:47:18 +0200 Subject: [PATCH] fix old omission, it seems --- OsmAnd/src/net/osmand/plus/OsmAndFormatter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OsmAnd/src/net/osmand/plus/OsmAndFormatter.java b/OsmAnd/src/net/osmand/plus/OsmAndFormatter.java index 5b57871d42..8eab7654f5 100644 --- a/OsmAnd/src/net/osmand/plus/OsmAndFormatter.java +++ b/OsmAnd/src/net/osmand/plus/OsmAndFormatter.java @@ -132,7 +132,7 @@ public class OsmAndFormatter { return (kmh10 / 10f) + " " + ctx.getString(R.string.km_h); } else { float mph = kmh * METERS_IN_KILOMETER / METERS_IN_ONE_MILE; - if (mph >= 10) { + if (mph >= 10 || am.hasFastSpeed()) { return ((int) Math.round(mph)) + " " + ctx.getString(R.string.mile_per_hour); } else { int mph10 = (int) Math.round(mph * 10f);