Fixed poi_additional_category icon
This commit is contained in:
parent
d716b5a7f3
commit
9488e61c92
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue