Fix icons

This commit is contained in:
Victor Shcherb 2015-02-19 00:24:01 +01:00
parent 3717464598
commit cea6a629b5

View file

@ -48,10 +48,10 @@ public class PoiLegacyFilter {
public PoiLegacyFilter(PoiCategory type, OsmandApplication application){
this.app = application;
isStandardFilter = true;
filterId = STD_PREFIX + type;
filterId = STD_PREFIX + (type == null? null: type.getName());
poiTypes = application.getPoiTypes();
name = type == null ? application.getString(R.string.poi_filter_closest_poi) : type.getTranslation(); //$NON-NLS-1$
if(type == null){
if (type == null) {
initSearchAll();
} else {
acceptedTypes.put(type, null);