aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/src/main/java/ml/docilealligator/infinityforreddit/adapters/PostRecyclerViewAdapter.java2
-rw-r--r--app/src/main/res/layout/item_post_card_3_with_preview.xml6
2 files changed, 4 insertions, 4 deletions
diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/adapters/PostRecyclerViewAdapter.java b/app/src/main/java/ml/docilealligator/infinityforreddit/adapters/PostRecyclerViewAdapter.java
index 9b6c4a3c..c9d96cef 100644
--- a/app/src/main/java/ml/docilealligator/infinityforreddit/adapters/PostRecyclerViewAdapter.java
+++ b/app/src/main/java/ml/docilealligator/infinityforreddit/adapters/PostRecyclerViewAdapter.java
@@ -5960,9 +5960,7 @@ public class PostRecyclerViewAdapter extends PagingDataAdapter<Post, RecyclerVie
lockedImageView.setColorFilter(mLockedIconTint, PorterDuff.Mode.SRC_IN);
crosspostImageView.setColorFilter(mCrosspostIconTint, PorterDuff.Mode.SRC_IN);
upvoteButton.setIconTint(ColorStateList.valueOf(mPostIconAndInfoColor));
- upvoteButton.setBackgroundTintList(ColorStateList.valueOf(Color.parseColor("#00000000")));
downvoteButton.setIconTint(ColorStateList.valueOf(mPostIconAndInfoColor));
- downvoteButton.setBackgroundTintList(ColorStateList.valueOf(Color.parseColor("#00000000")));
commentsCountButton.setTextColor(mPostIconAndInfoColor);
commentsCountButton.setIcon(mCommentIcon);
saveButton.setIconTint(ColorStateList.valueOf(mPostIconAndInfoColor));
diff --git a/app/src/main/res/layout/item_post_card_3_with_preview.xml b/app/src/main/res/layout/item_post_card_3_with_preview.xml
index 237e2847..ca3492da 100644
--- a/app/src/main/res/layout/item_post_card_3_with_preview.xml
+++ b/app/src/main/res/layout/item_post_card_3_with_preview.xml
@@ -283,7 +283,8 @@
android:textStyle="bold"
android:fontFamily="?attr/font_family"
app:strokeWidth="0dp"
- app:icon="@drawable/ic_upvote_24dp" />
+ app:icon="@drawable/ic_upvote_24dp"
+ android:backgroundTint="#00000000" />
<com.google.android.material.button.MaterialButton
style="?attr/materialButtonOutlinedStyle"
@@ -294,7 +295,8 @@
android:paddingEnd="8dp"
android:minWidth="0dp"
app:strokeWidth="0dp"
- app:icon="@drawable/ic_downvote_24dp" />
+ app:icon="@drawable/ic_downvote_24dp"
+ android:backgroundTint="#00000000" />
</com.google.android.material.button.MaterialButtonToggleGroup>