fix small issue with My Position not displaying "Looking up address..."

This commit is contained in:
sonora 2016-01-04 10:46:37 +01:00
parent c06c224e73
commit 36d126dc09

View file

@ -75,7 +75,9 @@ public abstract class MenuTitleController {
MenuController menuController = getMenuController(); MenuController menuController = getMenuController();
if (menuController != null && menuController.needStreetName()) { if (menuController != null && menuController.needStreetName()) {
// Display "Looking up address..." status // Display "Looking up address..." status
if (searchingAddress) { //if (searchingAddress) {
// Again here searchingAddress does not work for case of search interrupted by new searcj, so:
if (Algorithms.isEmpty(streetStr)) {
return addressNotKnownStr; return addressNotKnownStr;
} else { } else {
return streetStr; return streetStr;