small correction
This commit is contained in:
parent
635907636a
commit
3a616c5e97
1 changed files with 3 additions and 4 deletions
|
@ -439,11 +439,10 @@ public class SearchPOIActivity extends OsmandListActivity implements OsmAndCompa
|
||||||
} else if (filter != null && !isNameFinderFilter() && !isSearchByNameFilter()) {
|
} else if (filter != null && !isNameFinderFilter() && !isSearchByNameFilter()) {
|
||||||
title = R.string.search_POI_level_btn;
|
title = R.string.search_POI_level_btn;
|
||||||
enabled = (taskAlreadyFinished || currentSearchTask.getStatus() != Status.RUNNING) && filter.isSearchFurtherAvailable();
|
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) {
|
} else if (filter != null) {
|
||||||
title = R.string.search_button;
|
// TODO: for search-by-name case title initially needs to be search_button (even before typing a character)
|
||||||
|
//title = R.string.search_button;
|
||||||
|
title = R.string.search_POI_level_btn;
|
||||||
enabled = (taskAlreadyFinished || currentSearchTask.getStatus() != Status.RUNNING) && filter.isSearchFurtherAvailable();
|
enabled = (taskAlreadyFinished || currentSearchTask.getStatus() != Status.RUNNING) && filter.isSearchFurtherAvailable();
|
||||||
}
|
}
|
||||||
if (searchPOILevel != null) {
|
if (searchPOILevel != null) {
|
||||||
|
|
Loading…
Reference in a new issue