Fix exit info

This commit is contained in:
Victor Shcherb 2020-03-18 15:18:21 +01:00
parent 95e6ae72b1
commit 8cedb28efa

View file

@ -1022,8 +1022,10 @@ public class MapInfoWidgetsFactory {
} }
if (showExitInfo) { if (showExitInfo) {
if(!Algorithms.isEmpty(exitInfo.getExitStreetName())) {
text = exitInfo.getExitStreetName(); text = exitInfo.getExitStreetName();
} }
}
if (directionInfo != null && directionInfo.getRouteDataObject() != null) { if (directionInfo != null && directionInfo.getRouteDataObject() != null) {
object = directionInfo.getRouteDataObject(); object = directionInfo.getRouteDataObject();