Fix share

This commit is contained in:
Alexey Kulish 2017-03-30 16:02:21 +03:00
parent a5818dfd16
commit 9fff4e81f6

View file

@ -88,7 +88,7 @@ public class ShareMenu extends BaseMenuController {
if (!Algorithms.isEmpty(title)) { if (!Algorithms.isEmpty(title)) {
sb.append(title).append("\n"); 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(address).append("\n");
} }
sb.append(getMapActivity().getString(R.string.shared_string_location)).append(": "); sb.append(getMapActivity().getString(R.string.shared_string_location)).append(": ");