mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-01 12:44:42 +00:00
Skip restart on addresses option
This commit is contained in:
parent
f7c5b07d3f
commit
bc746223e1
2 changed files with 2 additions and 4 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", "addresses",
|
||||
"unified", "threading", "avatars", "identicons", "preview",
|
||||
"pull", "actionbar", "autoclose", "autonext", "confirm", "debug"
|
||||
};
|
||||
|
||||
|
|
|
@ -111,7 +111,6 @@ 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;
|
||||
|
@ -172,7 +171,6 @@ 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
|
||||
|
@ -336,7 +334,7 @@ public class FragmentMessages extends FragmentBase {
|
|||
if (values.containsKey(name))
|
||||
return values.get(name).contains(id);
|
||||
else if ("addresses".equals(name))
|
||||
return !addresses;
|
||||
return !prefs.getBoolean("addresses", true);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue