mirror of https://github.com/M66B/FairEmail.git
Just finish
This commit is contained in:
parent
f90165ce71
commit
c8dd2c0bda
|
@ -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<IBackPressedListener> backPressedListeners = new ArrayList<>();
|
||||
|
|
Loading…
Reference in New Issue