mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-11-29 13:26:50 +01:00
Fix changelog background color to match dialog
This commit is contained in:
parent
225d466a7b
commit
88ebbdad7a
@ -472,8 +472,7 @@ public class ControlCenterv2 extends AppCompatActivity
|
||||
String css = ChangeLog.DEFAULT_CSS;
|
||||
css += "body { "
|
||||
+ "color: " + AndroidUtils.getTextColorHex(getBaseContext()) + "; "
|
||||
+ "background-color: " + AndroidUtils.getBackgroundColorHex(getBaseContext()) + ";" +
|
||||
"}";
|
||||
+ "}";
|
||||
return new ChangeLog(this, css);
|
||||
}
|
||||
|
||||
|
@ -41,7 +41,7 @@ public class ChangeLog extends de.cketti.library.changelog.ChangeLog {
|
||||
|
||||
protected AlertDialog getMaterialDialog(boolean full) {
|
||||
WebView wv = new WebView(mContext);
|
||||
//wv.setBackgroundColor(0); // transparent
|
||||
wv.setBackgroundColor(0); // transparent
|
||||
wv.loadDataWithBaseURL(null, getLog(full), "text/html", "UTF-8", null);
|
||||
|
||||
MaterialAlertDialogBuilder builder = new MaterialAlertDialogBuilder(mContext);
|
||||
|
Loading…
Reference in New Issue
Block a user