From 9fff4e81f60d656eef71db560670a1c036a94cfc Mon Sep 17 00:00:00 2001 From: Alexey Kulish Date: Thu, 30 Mar 2017 16:02:21 +0300 Subject: [PATCH] Fix share --- OsmAnd/src/net/osmand/plus/mapcontextmenu/other/ShareMenu.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OsmAnd/src/net/osmand/plus/mapcontextmenu/other/ShareMenu.java b/OsmAnd/src/net/osmand/plus/mapcontextmenu/other/ShareMenu.java index 099252dba5..7310be1bdf 100644 --- a/OsmAnd/src/net/osmand/plus/mapcontextmenu/other/ShareMenu.java +++ b/OsmAnd/src/net/osmand/plus/mapcontextmenu/other/ShareMenu.java @@ -88,7 +88,7 @@ public class ShareMenu extends BaseMenuController { if (!Algorithms.isEmpty(title)) { sb.append(title).append("\n"); } - if (!Algorithms.isEmpty(address) && !address.equals(title)) { + if (!Algorithms.isEmpty(address) && !address.equals(title) && !address.equals(getMapActivity().getString(R.string.no_address_found))) { sb.append(address).append("\n"); } sb.append(getMapActivity().getString(R.string.shared_string_location)).append(": ");