mirror of
https://github.com/M66B/FairEmail.git
synced 2025-02-23 06:31:17 +00:00
Revert "Skip restart on addresses option"
This reverts commit bc746223e1
.
This commit is contained in:
parent
ae38391652
commit
300295c1e1
2 changed files with 4 additions and 2 deletions
|
@ -41,7 +41,7 @@ abstract class ActivityBase extends AppCompatActivity implements SharedPreferenc
|
|||
private boolean contacts;
|
||||
|
||||
private static String[] SETTINGS_RESTART = new String[]{
|
||||
"unified", "threading", "avatars", "identicons", "preview",
|
||||
"unified", "threading", "avatars", "identicons", "preview", "addresses",
|
||||
"pull", "actionbar", "autoclose", "autonext", "confirm", "debug"
|
||||
};
|
||||
|
||||
|
|
|
@ -111,6 +111,7 @@ public class FragmentMessages extends FragmentBase {
|
|||
private boolean actionbar;
|
||||
private boolean autoclose;
|
||||
private boolean autonext;
|
||||
private boolean addresses;
|
||||
|
||||
private long primary = -1;
|
||||
private boolean outbox = false;
|
||||
|
@ -171,6 +172,7 @@ public class FragmentMessages extends FragmentBase {
|
|||
actionbar = prefs.getBoolean("actionbar", true);
|
||||
autoclose = prefs.getBoolean("autoclose", true);
|
||||
autonext = prefs.getBoolean("autonext", false);
|
||||
addresses = prefs.getBoolean("addresses", true);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -334,7 +336,7 @@ public class FragmentMessages extends FragmentBase {
|
|||
if (values.containsKey(name))
|
||||
return values.get(name).contains(id);
|
||||
else if ("addresses".equals(name))
|
||||
return !prefs.getBoolean("addresses", true);
|
||||
return !addresses;
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue