Fix 0x1 resource id
This commit is contained in:
parent
2cf480bb94
commit
fd1a5dccc1
1 changed files with 1 additions and 1 deletions
|
@ -386,7 +386,7 @@ public class QuickSearchListItem {
|
||||||
iconId = app.getResources().getIdentifier(iconName, "drawable", app.getPackageName());
|
iconId = app.getResources().getIdentifier(iconName, "drawable", app.getPackageName());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (iconId <= 0) {
|
if (iconId <= 1) {
|
||||||
return app.getIconsCache().getIcon(SearchHistoryFragment.getItemIcon(entry.getName()),
|
return app.getIconsCache().getIcon(SearchHistoryFragment.getItemIcon(entry.getName()),
|
||||||
app.getSettings().isLightContent() ? R.color.osmand_orange : R.color.osmand_orange_dark);
|
app.getSettings().isLightContent() ? R.color.osmand_orange : R.color.osmand_orange_dark);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue