Merge "Mutate system shortcut icons in popup before tinting" into ub-launcher3-dorval
This commit is contained in:
commit
cf895ccc2c
1 file changed
+1
-1
@@ -31,7 +31,7 @@ public abstract class SystemShortcut {
|
||||
}
|
||||
|
||||
public Drawable getIcon(Context context, int colorAttr) {
|
||||
Drawable icon = context.getResources().getDrawable(mIconResId);
|
||||
Drawable icon = context.getResources().getDrawable(mIconResId, context.getTheme()).mutate();
|
||||
icon.setTint(Themes.getAttrColor(context, colorAttr));
|
||||
return icon;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user