diff options
Diffstat (limited to 'app/src/main/java/de/danoeh/antennapod/dialog')
-rw-r--r-- | app/src/main/java/de/danoeh/antennapod/dialog/SwipeActionsDialog.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/src/main/java/de/danoeh/antennapod/dialog/SwipeActionsDialog.java b/app/src/main/java/de/danoeh/antennapod/dialog/SwipeActionsDialog.java index 4e579fce4..257158f15 100644 --- a/app/src/main/java/de/danoeh/antennapod/dialog/SwipeActionsDialog.java +++ b/app/src/main/java/de/danoeh/antennapod/dialog/SwipeActionsDialog.java @@ -156,12 +156,12 @@ public class SwipeActionsDialog { Drawable icon = DrawableCompat.wrap(AppCompatResources.getDrawable(context, action.getActionIcon())); icon.mutate(); - DrawableCompat.setTintMode(icon, PorterDuff.Mode.SRC_ATOP); + icon.setTintMode(PorterDuff.Mode.SRC_ATOP); if ((direction == LEFT && leftAction == action) || (direction == RIGHT && rightAction == action)) { - DrawableCompat.setTint(icon, ThemeUtils.getColorFromAttr(context, action.getActionColor())); + icon.setTint(ThemeUtils.getColorFromAttr(context, action.getActionColor())); item.swipeActionLabel.setTextColor(ThemeUtils.getColorFromAttr(context, action.getActionColor())); } else { - DrawableCompat.setTint(icon, ThemeUtils.getColorFromAttr(context, R.attr.action_icon_color)); + icon.setTint(ThemeUtils.getColorFromAttr(context, R.attr.action_icon_color)); } item.swipeIcon.setImageDrawable(icon); |