From c8dd2c0bdaa6a0b25e7d8bad4314111940c0b7bf Mon Sep 17 00:00:00 2001 From: M66B Date: Mon, 22 Oct 2018 12:53:46 +0000 Subject: [PATCH] Just finish --- app/src/main/java/eu/faircode/email/ActivityBase.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app/src/main/java/eu/faircode/email/ActivityBase.java b/app/src/main/java/eu/faircode/email/ActivityBase.java index d50bba02..9006ca72 100644 --- a/app/src/main/java/eu/faircode/email/ActivityBase.java +++ b/app/src/main/java/eu/faircode/email/ActivityBase.java @@ -70,10 +70,8 @@ abstract class ActivityBase extends AppCompatActivity implements SharedPreferenc public void onSharedPreferenceChanged(SharedPreferences prefs, String key) { Log.i(Helper.TAG, "Preference " + key + "=" + prefs.getAll().get(key)); if ("theme".equals(key) || - (!this.getClass().equals(ActivitySetup.class) && ("compact".equals(key) || "debug".equals(key)))) { + (!this.getClass().equals(ActivitySetup.class) && ("compact".equals(key) || "debug".equals(key)))) finish(); - startActivity(getIntent()); - } } private List backPressedListeners = new ArrayList<>();