Browse Source

Small fix

main
M66B 6 years ago
parent
commit
10eec1292f
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/src/main/java/eu/faircode/email/FragmentSetup.java

+ 1
- 1
app/src/main/java/eu/faircode/email/FragmentSetup.java View File

@ -223,7 +223,7 @@ public class FragmentSetup extends FragmentEx {
prefs.edit().putString("theme", checked ? "dark" : "light").apply(); prefs.edit().putString("theme", checked ? "dark" : "light").apply();
} }
} else { } else {
prefs.edit().putString("theme", "light").apply();
prefs.edit().remove("theme").apply();
if (checked) { if (checked) {
tbDarkTheme.setChecked(false); tbDarkTheme.setChecked(false);
FragmentTransaction fragmentTransaction = getFragmentManager().beginTransaction(); FragmentTransaction fragmentTransaction = getFragmentManager().beginTransaction();


Loading…
Cancel
Save