mirror of
https://github.com/M66B/FairEmail.git
synced 2025-02-22 06:01:12 +00:00
Disable auto scroll by default
This commit is contained in:
parent
12f70ec8ef
commit
90009955c5
3 changed files with 5 additions and 2 deletions
|
@ -401,6 +401,9 @@ public class ApplicationEx extends Application
|
|||
} else if (version < 1461) {
|
||||
if (!prefs.contains("theme"))
|
||||
editor.putString("theme", "blue_orange_light");
|
||||
} else if (version < 1463) {
|
||||
if (!prefs.contains("autoscroll"))
|
||||
editor.putBoolean("autoscroll", true);
|
||||
}
|
||||
|
||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O && !BuildConfig.DEBUG)
|
||||
|
|
|
@ -4647,7 +4647,7 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
|
|||
return;
|
||||
} else {
|
||||
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(getContext());
|
||||
boolean autoscroll = prefs.getBoolean("autoscroll", true);
|
||||
boolean autoscroll = prefs.getBoolean("autoscroll", false);
|
||||
if (autoscroll) {
|
||||
ActivityView activity = (ActivityView) getActivity();
|
||||
if (activity != null &&
|
||||
|
|
|
@ -445,7 +445,7 @@ public class FragmentOptionsBehavior extends FragmentBase implements SharedPrefe
|
|||
etDefaultSnooze.setHint("1");
|
||||
|
||||
swPull.setChecked(prefs.getBoolean("pull", true));
|
||||
swAutoScroll.setChecked(prefs.getBoolean("autoscroll", true));
|
||||
swAutoScroll.setChecked(prefs.getBoolean("autoscroll", false));
|
||||
swQuickFilter.setChecked(prefs.getBoolean("quick_filter", false));
|
||||
swQuickScroll.setChecked(prefs.getBoolean("quick_scroll", true));
|
||||
|
||||
|
|
Loading…
Reference in a new issue