Fix 0x1 resource id

This commit is contained in:
Alexey Kulish 2017-04-12 10:06:44 +03:00
parent c4931e52f6
commit 6f16f32917

View file

@ -386,7 +386,7 @@ public class QuickSearchListItem {
iconId = app.getResources().getIdentifier(iconName, "drawable", app.getPackageName());
}
}
if (iconId <= 0) {
if (iconId <= 1) {
return app.getIconsCache().getIcon(SearchHistoryFragment.getItemIcon(entry.getName()),
app.getSettings().isLightContent() ? R.color.osmand_orange : R.color.osmand_orange_dark);
} else {