Show dark themed changelog when dark theme is selected

Closes #757
master
Andreas Shimokawa 2017-08-11 23:57:00 +02:00
parent 2f375e9a41
commit 9ea4b8ae43
1 changed files with 2 additions and 2 deletions

View File

@ -195,7 +195,7 @@ public class ControlCenterv2 extends AppCompatActivity
checkAndRequestPermissions();
}
ChangeLog cl = new ChangeLog(this);
ChangeLog cl = new ChangeLog(this, GBApplication.isDarkThemeEnabled() ? "body { color: #ffffff; background-color: #282828; }" : "");
if (cl.isFirstRun()) {
cl.getLogDialog().show();
}
@ -249,7 +249,7 @@ public class ControlCenterv2 extends AppCompatActivity
GBApplication.quit();
return true;
case R.id.external_changelog:
ChangeLog cl = new ChangeLog(this);
ChangeLog cl = new ChangeLog(this, GBApplication.isDarkThemeEnabled() ? "body { color: #ffffff; background-color: #282828; }" : "");
cl.getFullLogDialog().show();
return true;
}