aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/java
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2020-09-01 04:04:53 +0000
committerAlex Ning <chineseperson5@gmail.com>2020-09-01 04:04:53 +0000
commitccfb00ce3d7952dc2798528f53fdf09ae82ccb27 (patch)
tree3c6bf177c4e02e4e20d2ac50b51aec873b28c6f8 /app/src/main/java
parentbe7b2e0f853e28fa3d6116b62256273cd9e0360f (diff)
downloadinfinity-for-reddit-ccfb00ce3d7952dc2798528f53fdf09ae82ccb27.tar
infinity-for-reddit-ccfb00ce3d7952dc2798528f53fdf09ae82ccb27.tar.gz
infinity-for-reddit-ccfb00ce3d7952dc2798528f53fdf09ae82ccb27.tar.bz2
infinity-for-reddit-ccfb00ce3d7952dc2798528f53fdf09ae82ccb27.tar.lz
infinity-for-reddit-ccfb00ce3d7952dc2798528f53fdf09ae82ccb27.tar.xz
infinity-for-reddit-ccfb00ce3d7952dc2798528f53fdf09ae82ccb27.tar.zst
infinity-for-reddit-ccfb00ce3d7952dc2798528f53fdf09ae82ccb27.zip
Fix spoiler background in dark theme.
Diffstat (limited to 'app/src/main/java')
-rw-r--r--app/src/main/java/ml/docilealligator/infinityforreddit/Adapter/CommentAndPostRecyclerViewAdapter.java4
-rw-r--r--app/src/main/java/ml/docilealligator/infinityforreddit/Adapter/CommentsListingRecyclerViewAdapter.java2
2 files changed, 3 insertions, 3 deletions
diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/Adapter/CommentAndPostRecyclerViewAdapter.java b/app/src/main/java/ml/docilealligator/infinityforreddit/Adapter/CommentAndPostRecyclerViewAdapter.java
index 4e1baff3..3ba327aa 100644
--- a/app/src/main/java/ml/docilealligator/infinityforreddit/Adapter/CommentAndPostRecyclerViewAdapter.java
+++ b/app/src/main/java/ml/docilealligator/infinityforreddit/Adapter/CommentAndPostRecyclerViewAdapter.java
@@ -279,7 +279,7 @@ public class CommentAndPostRecyclerViewAdapter extends RecyclerView.Adapter<Recy
super.updateDrawState(ds);
ds.setColor(markdownColor);
} else {
- ds.bgColor = Color.BLACK;
+ ds.bgColor = markdownColor;
ds.setColor(markdownColor);
}
ds.setUnderlineText(false);
@@ -375,7 +375,7 @@ public class CommentAndPostRecyclerViewAdapter extends RecyclerView.Adapter<Recy
super.updateDrawState(ds);
ds.setColor(mCommentTextColor);
} else {
- ds.bgColor = Color.BLACK;
+ ds.bgColor = mCommentTextColor;
ds.setColor(mCommentTextColor);
}
ds.setUnderlineText(false);
diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/Adapter/CommentsListingRecyclerViewAdapter.java b/app/src/main/java/ml/docilealligator/infinityforreddit/Adapter/CommentsListingRecyclerViewAdapter.java
index 3aeff275..f5c59ca4 100644
--- a/app/src/main/java/ml/docilealligator/infinityforreddit/Adapter/CommentsListingRecyclerViewAdapter.java
+++ b/app/src/main/java/ml/docilealligator/infinityforreddit/Adapter/CommentsListingRecyclerViewAdapter.java
@@ -147,7 +147,7 @@ public class CommentsListingRecyclerViewAdapter extends PagedListAdapter<Comment
super.updateDrawState(ds);
ds.setColor(mCommentColor);
} else {
- ds.bgColor = Color.BLACK;
+ ds.bgColor = mCommentColor;
ds.setColor(mCommentColor);
}
ds.setUnderlineText(false);