Scroll to top by default

pull/162/head
M66B 5 years ago
parent c4c0d2a80b
commit 928918e288

@ -3514,7 +3514,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
boolean autoscroll =
(viewType == AdapterMessage.ViewType.THREAD ||
(viewType != ViewType.SEARCH &&
prefs.getBoolean("autoscroll", false)));
prefs.getBoolean("autoscroll", true)));
int prev = 0;
if (autoscroll && previousList != null)

@ -256,7 +256,7 @@ public class FragmentOptionsBehavior extends FragmentBase implements SharedPrefe
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(getContext());
swPull.setChecked(prefs.getBoolean("pull", true));
swAutoScroll.setChecked(prefs.getBoolean("autoscroll", false));
swAutoScroll.setChecked(prefs.getBoolean("autoscroll", true));
swDoubleTap.setChecked(prefs.getBoolean("doubletap", false));
swSwipeNav.setChecked(prefs.getBoolean("swipenav", true));
swReversed.setChecked(prefs.getBoolean("reversed", false));

Loading…
Cancel
Save