diff options
author | TacoTheDank <SkytkRSfan3895@gmail.com> | 2023-05-14 17:02:34 -0400 |
---|---|---|
committer | TacoTheDank <SkytkRSfan3895@gmail.com> | 2023-05-14 17:02:34 -0400 |
commit | cf4345564c13b72b805d7aac58e88559e77643b9 (patch) | |
tree | b999a8f3dac2db01b16f6aa58d98249cd3582078 /app/src/main/java/de/danoeh/antennapod/dialog | |
parent | 90d6095dad5c53435f8dc4ee7e9641bece42d39b (diff) | |
download | AntennaPod-cf4345564c13b72b805d7aac58e88559e77643b9.zip |
Remove no longer needed Compat stuff
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); |