small correction and test if Unicode Position char is displayed in Andr4

This commit is contained in:
sonora 2016-07-25 09:48:10 +02:00
parent 5c7f684f20
commit 5ab723f0ef

View file

@ -331,8 +331,9 @@ public class MapInfoWidgetsFactory {
}
if (text == null) {
text = "";
} else {
text = "\u2316+ " + 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()) && !text.equals("\u2316" + " " + addressText.getText().toString())) {
if (!text.equals(addressText.getText().toString()) && !text.equals("\u2316+ " + addressText.getText().toString())) {
if (!text.equals("")) {
topBar.setContentDescription(text);
} else {