From 4db7c6e107b269c372a8d4772f9bb97b73fa3d53 Mon Sep 17 00:00:00 2001 From: M66B Date: Mon, 13 Aug 2018 13:57:51 +0000 Subject: [PATCH] Convenience --- app/src/main/java/eu/faircode/email/ActivityBase.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/eu/faircode/email/ActivityBase.java b/app/src/main/java/eu/faircode/email/ActivityBase.java index 2e48c8f0..c80a2a78 100644 --- a/app/src/main/java/eu/faircode/email/ActivityBase.java +++ b/app/src/main/java/eu/faircode/email/ActivityBase.java @@ -66,7 +66,7 @@ abstract class ActivityBase extends AppCompatActivity implements SharedPreferenc @Override public void onSharedPreferenceChanged(SharedPreferences prefs, String key) { Log.i(Helper.TAG, "Preference " + key + "=" + prefs.getAll().get(key)); - if ("theme".equals(key)) + if ("theme".equals(key) || "debug".equals(key)) recreate(); } }