From 6cf8e01563a5ec3568ee640686aa3297f87db808 Mon Sep 17 00:00:00 2001 From: sonora Date: Mon, 25 Jul 2016 01:46:12 +0200 Subject: [PATCH] fix 2862 --- .../osmand/plus/views/mapwidgets/MapInfoWidgetsFactory.java | 3 ++- 1 file changed, 2 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 f649d43cd3..56d8d588b0 100644 --- a/OsmAnd/src/net/osmand/plus/views/mapwidgets/MapInfoWidgetsFactory.java +++ b/OsmAnd/src/net/osmand/plus/views/mapwidgets/MapInfoWidgetsFactory.java @@ -333,6 +333,7 @@ public class MapInfoWidgetsFactory { if (text == null) { text = ""; } + text = "\u2316" + " " + text; } if (map.isQuickSearchDialogActive()) { updateVisibility(false); @@ -364,7 +365,7 @@ public class MapInfoWidgetsFactory { addressText.setCompoundDrawables(null, null, null, null); } } - if (!text.equals(addressText.getText().toString())) { + if (!text.equals(addressText.getText().toString()) && !text.equals("\u2316" + " " + addressText.getText().toString())) { if (!text.equals("")) { topBar.setContentDescription(text); } else {