Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
606b1b67f6
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