Default expand one

pull/162/head
M66B 5 years ago
parent add90b7c5b
commit 463e19c31d

@ -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", "");

Loading…
Cancel
Save