Add maxspeed none

This commit is contained in:
Victor Shcherb 2013-02-17 19:35:29 +01:00
parent fef6329cca
commit 865676a0bd

View file

@ -331,7 +331,7 @@ public class RouteInfoControls {
if (cachedSpeed == 0) {
setText(null, null);
} else if(cachedSpeed == RouteDataObject.NONE_MAX_SPEED) {
setText(R.string.max_speed_none, "");
setText(map.getString(R.string.max_speed_none), "");
} else {
String ds = OsmAndFormatter.getFormattedSpeed(cachedSpeed, map.getMyApplication());
int ls = ds.lastIndexOf(' ');