Fixed changelog background in light theme
Dialog background colors changed at some point, WebView needs to be full white
This commit is contained in:
parent
178dd04286
commit
48b63b7d78
1 changed files with 2 additions and 2 deletions
|
|
@ -80,7 +80,7 @@ public class ChangelogDialog extends LeakDetectDialogFragment {
|
|||
webView.loadData(buf.toString()
|
||||
.replace("{style-placeholder}", ThemeSingleton.get().darkTheme ?
|
||||
"body { background-color: #444444; color: #fff; }" :
|
||||
"body { background-color: #EDEDED; color: #000; }")
|
||||
"body { background-color: #fff; color: #000; }")
|
||||
.replace("{link-color}", colorToHex(ThemeSingleton.get().positiveColor.getDefaultColor()))
|
||||
.replace("{link-color-active}", colorToHex(ColorUtil.shiftColorUp(ThemeSingleton.get().positiveColor.getDefaultColor())))
|
||||
, "text/html", "UTF-8");
|
||||
|
|
@ -93,4 +93,4 @@ public class ChangelogDialog extends LeakDetectDialogFragment {
|
|||
private String colorToHex(int color) {
|
||||
return Integer.toHexString(color).substring(2);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue