From f7704d72b05ba5beba19aaac02ff2cd0a341252b Mon Sep 17 00:00:00 2001 From: Victor Shcherb Date: Wed, 18 Mar 2020 15:18:21 +0100 Subject: [PATCH] Fix exit info --- .../osmand/plus/views/mapwidgets/MapInfoWidgetsFactory.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/OsmAnd/src/net/osmand/plus/views/mapwidgets/MapInfoWidgetsFactory.java b/OsmAnd/src/net/osmand/plus/views/mapwidgets/MapInfoWidgetsFactory.java index 0503231cd9..c02efde32a 100644 --- a/OsmAnd/src/net/osmand/plus/views/mapwidgets/MapInfoWidgetsFactory.java +++ b/OsmAnd/src/net/osmand/plus/views/mapwidgets/MapInfoWidgetsFactory.java @@ -1023,7 +1023,9 @@ public class MapInfoWidgetsFactory { } if (showExitInfo) { - text = exitInfo.getExitStreetName(); + if(!Algorithms.isEmpty(exitInfo.getExitStreetName())) { + text = exitInfo.getExitStreetName(); + } } if (directionInfo != null && directionInfo.getRouteDataObject() != null) {