File formatting and prevent extra blanks
This commit is contained in:
parent
e9ce449d43
commit
eafca496fe
1 changed files with 19 additions and 17 deletions
|
@ -262,9 +262,11 @@ public class RouteCalculationResult {
|
|||
|
||||
String description = toString(turn, ctx) + " " + RoutingHelper.formatStreetName(info.getStreetName(),
|
||||
info.getRef(), info.getDestinationName(), ctx.getString(R.string.towards));
|
||||
destination = destination.trim();
|
||||
String[] pointNames = s.getObject().getPointNames(s.getStartPointIndex());
|
||||
if(pointNames != null) {
|
||||
for (int t = 0; t < pointNames.length; t++) {
|
||||
description = description.trim();
|
||||
description += " " + pointNames[t];
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue