Display "Search More" button to indicate you can increase search range in "Search POI by name"
This commit is contained in:
parent
f46f0df615
commit
d72e383ce6
1 changed files with 3 additions and 0 deletions
|
@ -439,6 +439,9 @@ public class SearchPOIActivity extends OsmandListActivity implements OsmAndCompa
|
|||
} else if (filter != null && !isNameFinderFilter() && !isSearchByNameFilter()) {
|
||||
title = R.string.search_POI_level_btn;
|
||||
enabled = (taskAlreadyFinished || currentSearchTask.getStatus() != Status.RUNNING) && filter.isSearchFurtherAvailable();
|
||||
} else if ((filter != null) && (searchPOILevel != null)) {
|
||||
title = R.string.search_POI_level_btn;
|
||||
enabled = (taskAlreadyFinished || currentSearchTask.getStatus() != Status.RUNNING) && filter.isSearchFurtherAvailable();
|
||||
} else if (filter != null) {
|
||||
title = R.string.search_button;
|
||||
enabled = (taskAlreadyFinished || currentSearchTask.getStatus() != Status.RUNNING) && filter.isSearchFurtherAvailable();
|
||||
|
|
Loading…
Reference in a new issue