From 10eec1292f5bb0556cacf7be4df975fd4cfa8d3f Mon Sep 17 00:00:00 2001 From: M66B Date: Wed, 17 Oct 2018 18:41:43 +0000 Subject: [PATCH] Small fix --- app/src/main/java/eu/faircode/email/FragmentSetup.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/eu/faircode/email/FragmentSetup.java b/app/src/main/java/eu/faircode/email/FragmentSetup.java index c52aed82..a6ec939d 100644 --- a/app/src/main/java/eu/faircode/email/FragmentSetup.java +++ b/app/src/main/java/eu/faircode/email/FragmentSetup.java @@ -223,7 +223,7 @@ public class FragmentSetup extends FragmentEx { prefs.edit().putString("theme", checked ? "dark" : "light").apply(); } } else { - prefs.edit().putString("theme", "light").apply(); + prefs.edit().remove("theme").apply(); if (checked) { tbDarkTheme.setChecked(false); FragmentTransaction fragmentTransaction = getFragmentManager().beginTransaction();