mirror of
https://github.com/AntennaPod/AntennaPod.git
synced 2025-01-31 10:54:50 +01:00
Merge pull request #5366 from ByteHamster/fix-green-download
Fix green download icon everywhere after showing swipe settings dialog
This commit is contained in:
commit
b2dc57a454
@ -135,6 +135,7 @@ public class SwipeActionsDialog {
|
||||
item.swipeActionLabel.setText(action.getTitle(context));
|
||||
|
||||
Drawable icon = DrawableCompat.wrap(AppCompatResources.getDrawable(context, action.getActionIcon()));
|
||||
icon.mutate();
|
||||
DrawableCompat.setTintMode(icon, PorterDuff.Mode.SRC_ATOP);
|
||||
if ((direction == LEFT && leftAction == action) || (direction == RIGHT && rightAction == action)) {
|
||||
DrawableCompat.setTint(icon, ThemeUtils.getColorFromAttr(context, action.getActionColor()));
|
||||
|
Loading…
x
Reference in New Issue
Block a user