Fix transport layer
This commit is contained in:
parent
b725a0cf83
commit
b507b5cdec
1 changed files with 3 additions and 3 deletions
|
@ -97,11 +97,11 @@ public class TransportStopsLayer extends OsmandMapLayer implements ContextMenuLa
|
||||||
if (t.acceptTransportStop(n)) {
|
if (t.acceptTransportStop(n)) {
|
||||||
List<String> l;
|
List<String> l;
|
||||||
if (!useName) {
|
if (!useName) {
|
||||||
l = reps.get(0).getRouteDescriptionsForStop(n, "{1} {0}"); //$NON-NLS-1$
|
l = t.getRouteDescriptionsForStop(n, "{1} {0}"); //$NON-NLS-1$
|
||||||
} else if (view.getSettings().USE_ENGLISH_NAMES.get()) {
|
} else if (view.getSettings().USE_ENGLISH_NAMES.get()) {
|
||||||
l = reps.get(0).getRouteDescriptionsForStop(n, "{1} {0} - {3}"); //$NON-NLS-1$
|
l = t.getRouteDescriptionsForStop(n, "{1} {0} - {3}"); //$NON-NLS-1$
|
||||||
} else {
|
} else {
|
||||||
l = reps.get(0).getRouteDescriptionsForStop(n, "{1} {0} - {2}"); //$NON-NLS-1$
|
l = t.getRouteDescriptionsForStop(n, "{1} {0} - {2}"); //$NON-NLS-1$
|
||||||
}
|
}
|
||||||
if (l != null) {
|
if (l != null) {
|
||||||
for (String s : l) {
|
for (String s : l) {
|
||||||
|
|
Loading…
Reference in a new issue