Fix #5588
This commit is contained in:
parent
aa0e4ed073
commit
69fcd322ba
2 changed files with 8 additions and 2 deletions
|
@ -245,9 +245,9 @@ public class TransportRouteController extends MenuController {
|
|||
@Override
|
||||
public String getNameStr() {
|
||||
if (transportRoute.refStop != null && !TextUtils.isEmpty(transportRoute.refStop.getName())) {
|
||||
return transportRoute.refStop.getName();
|
||||
return transportRoute.refStop.getName(getPreferredMapLang(), isTransliterateNames());
|
||||
} else if (transportRoute.stop != null && !TextUtils.isEmpty(transportRoute.stop.getName())) {
|
||||
return transportRoute.stop.getName();
|
||||
return transportRoute.stop.getName(getPreferredMapLang(), isTransliterateNames());
|
||||
} else if (!TextUtils.isEmpty(getPointDescription().getTypeName())) {
|
||||
return getPointDescription().getTypeName();
|
||||
} else {
|
||||
|
|
|
@ -82,6 +82,12 @@ public class TransportStopController extends MenuController {
|
|||
return true;
|
||||
}
|
||||
|
||||
@NonNull
|
||||
@Override
|
||||
public String getNameStr() {
|
||||
return transportStop.getName(getPreferredMapLang(), isTransliterateNames());
|
||||
}
|
||||
|
||||
@NonNull
|
||||
@Override
|
||||
public String getTypeStr() {
|
||||
|
|
Loading…
Reference in a new issue