From 8cedb28efa82b3c65d68f33c5a3a386c6a911ecf 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 54be82b4f7..cba79809fb 100644 --- a/OsmAnd/src/net/osmand/plus/views/mapwidgets/MapInfoWidgetsFactory.java +++ b/OsmAnd/src/net/osmand/plus/views/mapwidgets/MapInfoWidgetsFactory.java @@ -1022,7 +1022,9 @@ public class MapInfoWidgetsFactory { } if (showExitInfo) { - text = exitInfo.getExitStreetName(); + if(!Algorithms.isEmpty(exitInfo.getExitStreetName())) { + text = exitInfo.getExitStreetName(); + } } if (directionInfo != null && directionInfo.getRouteDataObject() != null) {