diff --git a/OsmAnd/src/net/osmand/plus/activities/PluginsFragment.java b/OsmAnd/src/net/osmand/plus/activities/PluginsFragment.java index ec863540cf..04666e9607 100644 --- a/OsmAnd/src/net/osmand/plus/activities/PluginsFragment.java +++ b/OsmAnd/src/net/osmand/plus/activities/PluginsFragment.java @@ -224,8 +224,10 @@ public class PluginsFragment extends BaseOsmAndFragment implements PluginStateLi pluginDescription.setText(plugin.getDescription()); int color = AndroidUtils.getColorFromAttr(context, R.attr.list_background_color); - Drawable pluginIcon = plugin.getLogoResource(); + if (pluginIcon.getConstantState() != null) { + pluginIcon = pluginIcon.getConstantState().newDrawable().mutate(); + } pluginLogo.setImageDrawable(UiUtilities.tintDrawable(pluginIcon, color)); pluginLogo.setOnClickListener(new View.OnClickListener() { @Override