use searchingAddress as condition
This commit is contained in:
parent
e63ed1e3e6
commit
1865a78828
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ public abstract class MenuTitleController {
|
|||
MenuController menuController = getMenuController();
|
||||
if (menuController != null && menuController.needStreetName()) {
|
||||
// Special case for "My Position" context: Display "Looking up address..." status
|
||||
if (typeStr.equals(getMapActivity().getString(R.string.shared_string_my_location)) && (nameStr.equals(addressNotKnownStr))) {
|
||||
if (typeStr.equals(getMapActivity().getString(R.string.shared_string_my_location)) && searchingAddress) {
|
||||
return addressNotKnownStr;
|
||||
} else {
|
||||
return streetStr;
|
||||
|
|
Loading…
Reference in a new issue