improve comments
This commit is contained in:
parent
9c2fe201f6
commit
2ba22bc791
1 changed files with 3 additions and 2 deletions
|
@ -440,8 +440,9 @@ public class SearchPOIActivity extends OsmandListActivity implements OsmAndCompa
|
|||
title = R.string.search_POI_level_btn;
|
||||
enabled = (taskAlreadyFinished || currentSearchTask.getStatus() != Status.RUNNING) && filter.isSearchFurtherAvailable();
|
||||
} else if (filter != null) {
|
||||
// TODO: for search-by-name case, as long as filter text field is empty, we could display title search_button but disable the search button until 2 characters are typed
|
||||
// title = R.string.search_button;
|
||||
// TODO: for search-by-name case, as long as filter text field is empty, we could disable the search button (with title search_button) until at least 2 characters are typed
|
||||
//title = R.string.search_button;
|
||||
// The following is needed as it indicates that search radius can be extended in search-by-name case
|
||||
title = R.string.search_POI_level_btn;
|
||||
enabled = (taskAlreadyFinished || currentSearchTask.getStatus() != Status.RUNNING) && filter.isSearchFurtherAvailable();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue