1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-12-26 10:35:50 +01:00

Show dark themed changelog when dark theme is selected

Closes #757
This commit is contained in:
Andreas Shimokawa 2017-08-11 23:57:00 +02:00
parent 2f375e9a41
commit 9ea4b8ae43

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;
}