mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-04 11:54:10 +01:00
Default expand one
This commit is contained in:
@@ -1208,7 +1208,7 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
|
||||
if ("expanded".equals(name)) {
|
||||
// Collapse other messages
|
||||
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(getContext());
|
||||
boolean expand_one = prefs.getBoolean("expand_one", false);
|
||||
boolean expand_one = prefs.getBoolean("expand_one", true);
|
||||
if (expand_one) {
|
||||
for (Long other : new ArrayList<>(values.get(name)))
|
||||
if (!other.equals(id)) {
|
||||
|
||||
@@ -262,7 +262,7 @@ public class FragmentOptionsBehavior extends FragmentBase implements SharedPrefe
|
||||
swDoubleTap.setChecked(prefs.getBoolean("doubletap", false));
|
||||
swExpandRead.setChecked(prefs.getBoolean("expand_read", true));
|
||||
swAutoExpand.setChecked(prefs.getBoolean("autoexpand", true));
|
||||
swExpandOne.setChecked(prefs.getBoolean("expand_one", false));
|
||||
swExpandOne.setChecked(prefs.getBoolean("expand_one", true));
|
||||
swAutoClose.setChecked(prefs.getBoolean("autoclose", true));
|
||||
|
||||
String onClose = prefs.getString("onclose", "");
|
||||
|
||||
Reference in New Issue
Block a user