Fix spoiler background in dark theme.

This commit is contained in:
Alex Ning 2020-09-01 12:04:53 +08:00
parent be7b2e0f85
commit ccfb00ce3d
2 changed files with 3 additions and 3 deletions

View File

@ -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);

View File

@ -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);