diff --git a/app/src/main/java/eu/faircode/email/FragmentDialogTheme.java b/app/src/main/java/eu/faircode/email/FragmentDialogTheme.java
index 25d17423be..4fa5fcc73c 100644
--- a/app/src/main/java/eu/faircode/email/FragmentDialogTheme.java
+++ b/app/src/main/java/eu/faircode/email/FragmentDialogTheme.java
@@ -54,7 +54,6 @@ public class FragmentDialogTheme extends FragmentDialogBase {
private TextView tvYou;
private RadioGroup rgThemeOptions;
private TextView tvSystem;
- private SwitchCompat swBeige;
private SwitchCompat swBlack;
private SwitchCompat swHtmlLight;
private SwitchCompat swComposerLight;
@@ -99,8 +98,6 @@ public class FragmentDialogTheme extends FragmentDialogBase {
final Context context = getContext();
final SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);
String theme = prefs.getString("theme", "blue_orange_system");
- boolean cards = prefs.getBoolean("cards", true);
- boolean beige = prefs.getBoolean("beige", true);
boolean default_light = prefs.getBoolean("default_light", false);
boolean composer_light = prefs.getBoolean("composer_light", false);
boolean debug = prefs.getBoolean("debug", false);
@@ -113,7 +110,6 @@ public class FragmentDialogTheme extends FragmentDialogBase {
swReverse = dview.findViewById(R.id.swReverse);
rgThemeOptions = dview.findViewById(R.id.rgThemeOptions);
tvSystem = dview.findViewById(R.id.tvSystem);
- swBeige = dview.findViewById(R.id.swBeige);
swBlack = dview.findViewById(R.id.swBlack);
swHtmlLight = dview.findViewById(R.id.swHtmlLight);
swComposerLight = dview.findViewById(R.id.swComposerLight);
@@ -178,8 +174,6 @@ public class FragmentDialogTheme extends FragmentDialogBase {
else
rgThemeOptions.check(R.id.rbThemeLight);
- swBeige.setChecked(beige);
- swBeige.setVisibility(cards ? View.VISIBLE : View.GONE);
swBlack.setChecked(black);
swHtmlLight.setChecked(default_light);
swComposerLight.setChecked(composer_light);
@@ -311,7 +305,6 @@ public class FragmentDialogTheme extends FragmentDialogBase {
boolean reverse = (swReverse.isEnabled() && swReverse.isChecked());
boolean dark = (rgThemeOptions.isEnabled() && optionId == R.id.rbThemeDark);
boolean system = (rgThemeOptions.isEnabled() && optionId == R.id.rbThemeSystem);
- boolean beige = swBeige.isChecked();
boolean black = (swBlack.isEnabled() && swBlack.isChecked());
SharedPreferences.Editor editor = prefs.edit();
@@ -387,8 +380,6 @@ public class FragmentDialogTheme extends FragmentDialogBase {
(black ? "_black" : dark ? "_dark" : "_light")).apply();
}
- editor.putBoolean("beige", beige);
-
editor.putBoolean("default_light", swHtmlLight.isChecked());
editor.putBoolean("composer_light", swComposerLight.isChecked());
diff --git a/app/src/main/res/layout-v31/dialog_theme.xml b/app/src/main/res/layout-v31/dialog_theme.xml
index d4b3719bed..946ab4479f 100644
--- a/app/src/main/res/layout-v31/dialog_theme.xml
+++ b/app/src/main/res/layout-v31/dialog_theme.xml
@@ -366,16 +366,6 @@
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/rgThemeOptions" />
-
-
+ app:layout_constraintTop_toBottomOf="@id/tvSystem" />
-
-
+ app:layout_constraintTop_toBottomOf="@id/tvSystem" />
-
-
+ app:layout_constraintTop_toBottomOf="@id/tvSystem" />