mirror of
https://codeberg.org/tom79/Fedilab.git
synced 2025-01-07 00:20:08 +02:00
Fix a bug
This commit is contained in:
parent
e87a347354
commit
6e8381396f
1 changed files with 2 additions and 2 deletions
|
@ -2017,8 +2017,8 @@ public class PeertubeActivity extends BasePeertubeActivity implements CommentLis
|
||||||
}
|
}
|
||||||
if (peertube.getMyRating() != null && peertube.getMyRating().compareTo("like") == 0) {
|
if (peertube.getMyRating() != null && peertube.getMyRating().compareTo("like") == 0) {
|
||||||
if (thumbUp != null) {
|
if (thumbUp != null) {
|
||||||
thumbUp.setColorFilter(getAttColor(PeertubeActivity.this, R.attr.primaryColor), PorterDuff.Mode.SRC_ATOP);
|
thumbUp.setColorFilter(getAttColor(PeertubeActivity.this, R.attr.colorPrimary), PorterDuff.Mode.SRC_ATOP);
|
||||||
DrawableCompat.setTint(thumbUp, getAttColor(PeertubeActivity.this, R.attr.primaryColor));
|
DrawableCompat.setTint(thumbUp, getAttColor(PeertubeActivity.this, R.attr.colorPrimary));
|
||||||
}
|
}
|
||||||
} else if (peertube.getMyRating() != null && peertube.getMyRating().compareTo("dislike") == 0) {
|
} else if (peertube.getMyRating() != null && peertube.getMyRating().compareTo("dislike") == 0) {
|
||||||
if (thumbDown != null) {
|
if (thumbDown != null) {
|
||||||
|
|
Loading…
Reference in a new issue