Browse Source

Convenience

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

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

@ -66,7 +66,7 @@ abstract class ActivityBase extends AppCompatActivity implements SharedPreferenc
@Override @Override
public void onSharedPreferenceChanged(SharedPreferences prefs, String key) { public void onSharedPreferenceChanged(SharedPreferences prefs, String key) {
Log.i(Helper.TAG, "Preference " + key + "=" + prefs.getAll().get(key)); Log.i(Helper.TAG, "Preference " + key + "=" + prefs.getAll().get(key));
if ("theme".equals(key))
if ("theme".equals(key) || "debug".equals(key))
recreate(); recreate();
} }
} }

Loading…
Cancel
Save