fix filter logic
This commit is contained in:
parent
debcf6e576
commit
266e53bc14
3 changed files with 5 additions and 6 deletions
|
@ -1673,7 +1673,7 @@ Für Hilfe mit der OsmAnd-App kontaktieren Sie bitte unser Support-Team unter su
|
|||
<string name="shared_string_ellipsis">…</string>
|
||||
<string name="shared_string_selected">Ausgewählt</string>
|
||||
<string name="shared_string_selected_lowercase">ausgewählt</string>
|
||||
<string name="shared_string_open">Offen</string>
|
||||
<string name="shared_string_is_open">Offen</string>
|
||||
|
||||
<string name="rendering_attr_hideHouseNumbers_name">Hausnummern</string>
|
||||
<string name="application_dir_change_warning3">Soll OsmAnd auch die Datendateien an den neuen Ort kopieren?</string>
|
||||
|
|
|
@ -9,8 +9,7 @@
|
|||
3. All your modified/created strings are in the top of the file (to make easier find what\'s translated).
|
||||
PLEASE: Have a look at http://code.google.com/p/osmand/wiki/UIConsistency, it may really improve your and our work :-) Thx - Hardy
|
||||
-->
|
||||
<string name="shared_string_open_POIs">Open POIs</string>
|
||||
<string name="shared_string_open_24_7">Open 24/7</string>
|
||||
<string name="shared_string_is_open">Open</string>
|
||||
<string name="storage_directory_card">Memory card</string>
|
||||
<string name="coords_format">Coordinate format</string>
|
||||
<string name="coords_format_descr">Format for the geographical coordinates</string>
|
||||
|
|
|
@ -361,8 +361,8 @@ public class SearchPOIActivity extends OsmandListActivity implements OsmAndCompa
|
|||
return true;
|
||||
}
|
||||
});
|
||||
addFilter(optionsMenu, getString(R.string.shared_string_open_POIs));
|
||||
addFilter(optionsMenu, getString(R.string.shared_string_open_24_7));
|
||||
addFilter(optionsMenu, getString(R.string.shared_string_is_open).toLowerCase());
|
||||
addFilter(optionsMenu, "24/7");
|
||||
Map<String, PoiType> poiAdditionals = f.getPoiAdditionals();
|
||||
if(poiAdditionals != null) {
|
||||
TreeMap<String, PoiType> adds = new TreeMap<String, PoiType>();
|
||||
|
@ -389,7 +389,7 @@ public class SearchPOIActivity extends OsmandListActivity implements OsmAndCompa
|
|||
if(searchFilterLayout.getVisibility() == View.GONE) {
|
||||
searchFilterLayout.setVisibility(View.VISIBLE);
|
||||
}
|
||||
searchFilter.setText((searchFilter.getText().toString() + ": " + value).trim());
|
||||
searchFilter.setText((searchFilter.getText().toString() + " " + value).trim());
|
||||
return true;
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue