Added open source licenses dialog.
This commit is contained in:
parent
1816c264a9
commit
afd72a7129
12 changed files with 191 additions and 14 deletions
|
|
@ -76,8 +76,8 @@ public class ChangelogDialog extends LeakDetectDialogFragment {
|
|||
in.close();
|
||||
|
||||
// Inject color values for WebView body background and links
|
||||
final String backgroundColor = ThemeSingleton.get().darkTheme ? "444444" : "fff";
|
||||
final String contentColor = ThemeSingleton.get().darkTheme ? "fff" : "000";
|
||||
final String backgroundColor = ThemeSingleton.get().darkTheme ? "424242" : "ffffff";
|
||||
final String contentColor = ThemeSingleton.get().darkTheme ? "ffffff" : "000000";
|
||||
webView.loadData(buf.toString()
|
||||
.replace("{style-placeholder}",
|
||||
String.format("body { background-color: #%s; color: #%s; }", backgroundColor, contentColor))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue