diff options
author | Alex Ning <chineseperson5@gmail.com> | 2020-09-01 04:04:53 +0000 |
---|---|---|
committer | Alex Ning <chineseperson5@gmail.com> | 2020-09-01 04:04:53 +0000 |
commit | ccfb00ce3d7952dc2798528f53fdf09ae82ccb27 (patch) | |
tree | 3c6bf177c4e02e4e20d2ac50b51aec873b28c6f8 | |
parent | be7b2e0f853e28fa3d6116b62256273cd9e0360f (diff) | |
download | infinity-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.
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); |