From 5a3fc1b0df41f6eda2f1f11804a06f99ae3b58b8 Mon Sep 17 00:00:00 2001 From: sonora Date: Fri, 5 Aug 2016 10:19:11 +0200 Subject: [PATCH] fix for now --- OsmAnd/src/net/osmand/plus/routing/RoutingHelper.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/OsmAnd/src/net/osmand/plus/routing/RoutingHelper.java b/OsmAnd/src/net/osmand/plus/routing/RoutingHelper.java index 2bbb47fdc6..777ae49bf3 100644 --- a/OsmAnd/src/net/osmand/plus/routing/RoutingHelper.java +++ b/OsmAnd/src/net/osmand/plus/routing/RoutingHelper.java @@ -709,7 +709,7 @@ public class RoutingHelper { } - public String formatStreetName(String name, String ref, String destination) { + public static String formatStreetName(String name, String ref, String destination) { //Original version returned: // 1. ref + " " + dest // 2. dest @@ -733,7 +733,8 @@ public class RoutingHelper { if (formattedStreetName.length() > 0) { formattedStreetName = formattedStreetName + " "; } - formattedStreetName = formattedStreetName + app.getString(R.string.towards) + " " + destination; + //formattedStreetName = formattedStreetName + app.getString(R.string.towards) + " " + destination; + formattedStreetName = formattedStreetName + " " + destination; } return formattedStreetName;