fix towards issue in navigation mode

This commit is contained in:
sonora 2016-08-17 09:12:13 +02:00
parent 285e8a8ae7
commit 2fd9f4ad59

View file

@ -755,14 +755,14 @@ public class RoutingHelper {
if(next != null) {
next[0] = n.directionInfo.getTurnType();
}
return formatStreetName(nm, rf, dn, app.getString(R.string.towards));
return formatStreetName(nm, rf, dn, "»");
}
RouteSegmentResult rs = getCurrentSegmentResult();
if(rs != null) {
String nm = rs.getObject().getName(settings.MAP_PREFERRED_LOCALE.get());
String rf = rs.getObject().getRef();
String dn = rs.getObject().getDestinationName(settings.MAP_PREFERRED_LOCALE.get());
return formatStreetName(nm, rf, dn, app.getString(R.string.towards));
return formatStreetName(nm, rf, dn, "»");
}
return null;
}