improve comments

This commit is contained in:
sonora 2014-06-14 11:27:10 +02:00
parent 9c2fe201f6
commit 2ba22bc791

View file

@ -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();
}