diff options
author | Thomas <tschneider.ac@gmail.com> | 2023-01-24 18:23:59 +0100 |
---|---|---|
committer | Thomas <tschneider.ac@gmail.com> | 2023-01-24 18:23:59 +0100 |
commit | 6e8381396f3d85c39064d6745d890563b070d025 (patch) | |
tree | c89b62b976a991259f898742ea9154c7faf16c3a | |
parent | e87a347354b05141a1b1fff29776fa2b06e60be4 (diff) |
Fix a bug
-rw-r--r-- | app/src/main/java/app/fedilab/android/peertube/activities/PeertubeActivity.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/src/main/java/app/fedilab/android/peertube/activities/PeertubeActivity.java b/app/src/main/java/app/fedilab/android/peertube/activities/PeertubeActivity.java index ff3bf331a..a6360188f 100644 --- a/app/src/main/java/app/fedilab/android/peertube/activities/PeertubeActivity.java +++ b/app/src/main/java/app/fedilab/android/peertube/activities/PeertubeActivity.java @@ -2017,8 +2017,8 @@ public class PeertubeActivity extends BasePeertubeActivity implements CommentLis } if (peertube.getMyRating() != null && peertube.getMyRating().compareTo("like") == 0) { if (thumbUp != null) { - thumbUp.setColorFilter(getAttColor(PeertubeActivity.this, R.attr.primaryColor), PorterDuff.Mode.SRC_ATOP); - DrawableCompat.setTint(thumbUp, getAttColor(PeertubeActivity.this, R.attr.primaryColor)); + thumbUp.setColorFilter(getAttColor(PeertubeActivity.this, R.attr.colorPrimary), PorterDuff.Mode.SRC_ATOP); + DrawableCompat.setTint(thumbUp, getAttColor(PeertubeActivity.this, R.attr.colorPrimary)); } } else if (peertube.getMyRating() != null && peertube.getMyRating().compareTo("dislike") == 0) { if (thumbDown != null) { |