Skip to content

Commit

Permalink
Fix spoiler background in dark theme.
Browse files Browse the repository at this point in the history
  • Loading branch information
Docile-Alligator committed Sep 1, 2020
1 parent be7b2e0 commit ccfb00c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ public void updateDrawState(@NonNull TextPaint ds) {
super.updateDrawState(ds);
ds.setColor(markdownColor);
} else {
ds.bgColor = Color.BLACK;
ds.bgColor = markdownColor;
ds.setColor(markdownColor);
}
ds.setUnderlineText(false);
Expand Down Expand Up @@ -375,7 +375,7 @@ public void updateDrawState(@NonNull TextPaint ds) {
super.updateDrawState(ds);
ds.setColor(mCommentTextColor);
} else {
ds.bgColor = Color.BLACK;
ds.bgColor = mCommentTextColor;
ds.setColor(mCommentTextColor);
}
ds.setUnderlineText(false);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ public void updateDrawState(@NonNull TextPaint ds) {
super.updateDrawState(ds);
ds.setColor(mCommentColor);
} else {
ds.bgColor = Color.BLACK;
ds.bgColor = mCommentColor;
ds.setColor(mCommentColor);
}
ds.setUnderlineText(false);
Expand Down

0 comments on commit ccfb00c

Please sign in to comment.