fix build
This commit is contained in:
parent
09a0614c01
commit
d06c434263
1 changed files with 1 additions and 1 deletions
|
@ -604,7 +604,7 @@ public class MapRouteInfoMenu implements IRouteInformationListener {
|
||||||
if (directionInfo >= 0 && routingHelper.getRouteDirections() != null
|
if (directionInfo >= 0 && routingHelper.getRouteDirections() != null
|
||||||
&& directionInfo < routingHelper.getRouteDirections().size()) {
|
&& directionInfo < routingHelper.getRouteDirections().size()) {
|
||||||
RouteDirectionInfo ri = routingHelper.getRouteDirections().get(directionInfo);
|
RouteDirectionInfo ri = routingHelper.getRouteDirections().get(directionInfo);
|
||||||
if (!ri.getDescriptionRoutePart().endsWith(" " + OsmAndFormatter.getFormattedDistance(distance, ctx))) {
|
if (!ri.getDescriptionRoutePart().endsWith(" " + OsmAndFormatter.getFormattedDistance(ri.distance, ctx))) {
|
||||||
textView.setText((directionInfo + 1) + ". " + ri.getDescriptionRoutePart() + " " + OsmAndFormatter.getFormattedDistance(ri.distance, ctx));
|
textView.setText((directionInfo + 1) + ". " + ri.getDescriptionRoutePart() + " " + OsmAndFormatter.getFormattedDistance(ri.distance, ctx));
|
||||||
} else {
|
} else {
|
||||||
textView.setText((directionInfo + 1) + ". " + ri.getDescriptionRoutePart());
|
textView.setText((directionInfo + 1) + ". " + ri.getDescriptionRoutePart());
|
||||||
|
|
Loading…
Reference in a new issue