@ -22,8 +23,10 @@ public class DisplaySettingsActivity extends ThemableSettingsActivity {
@@ -22,8 +23,10 @@ public class DisplaySettingsActivity extends ThemableSettingsActivity {
@ -35,6 +38,7 @@ public class DisplaySettingsActivity extends ThemableSettingsActivity {
@@ -35,6 +38,7 @@ public class DisplaySettingsActivity extends ThemableSettingsActivity {
@ -56,7 +60,7 @@ public class DisplaySettingsActivity extends ThemableSettingsActivity {
@@ -56,7 +60,7 @@ public class DisplaySettingsActivity extends ThemableSettingsActivity {
@ -66,26 +70,28 @@ public class DisplaySettingsActivity extends ThemableSettingsActivity {
@@ -66,26 +70,28 @@ public class DisplaySettingsActivity extends ThemableSettingsActivity {
@ -111,8 +117,8 @@ public class DisplaySettingsActivity extends ThemableSettingsActivity {
@@ -111,8 +117,8 @@ public class DisplaySettingsActivity extends ThemableSettingsActivity {
caseR.id.rTextSize:
textSizePicker();
break;
caseR.id.rDarkTheme:
cbDarkTheme.setChecked(!cbDarkTheme.isChecked());
caseR.id.rTheme:
themePicker();
break;
}
}
@ -139,10 +145,6 @@ public class DisplaySettingsActivity extends ThemableSettingsActivity {
@@ -139,10 +145,6 @@ public class DisplaySettingsActivity extends ThemableSettingsActivity {
caseR.id.cbTextReflow:
mPreferences.setTextReflowEnabled(isChecked);
break;
caseR.id.cbDarkTheme:
mPreferences.setUseDarkTheme(isChecked);
restart();
break;
}
}
@ -172,4 +174,41 @@ public class DisplaySettingsActivity extends ThemableSettingsActivity {
@@ -172,4 +174,41 @@ public class DisplaySettingsActivity extends ThemableSettingsActivity {