Fixed poi_additional_category icon

This commit is contained in:
Alexey Kulish 2016-10-16 09:53:12 +03:00
parent d716b5a7f3
commit 9488e61c92

View file

@ -533,6 +533,9 @@ public class QuickSearchPoiFilterFragment extends DialogFragment {
if (!Algorithms.isEmpty(categoryIconStr)) { if (!Algorithms.isEmpty(categoryIconStr)) {
categoryIconId = RenderingIcons.getBigIconResourceId(categoryIconStr); categoryIconId = RenderingIcons.getBigIconResourceId(categoryIconStr);
} }
if (categoryIconId == 0) {
categoryIconId = getResources().getIdentifier("mx_" + category, "drawable", app.getPackageName());
}
if (categoryIconId == 0) { if (categoryIconId == 0) {
categoryIconId = R.drawable.ic_action_folder_stroke; categoryIconId = R.drawable.ic_action_folder_stroke;
} }