Bug 1897171 - Change default setting for pull-to-refresh to true in release build r=android-reviewers,tthibaud

The default pull-to-refresh setting will now be true for release, nightly and dev builds, and new installs.

ie. If a user has not interacted with the pull-to-refresh setting switch, pull-to-refresh will be ON.
If a user has manually switched off pull-to-refresh, this behaviour will be preserved - pull-to-refresh will be OFF.

Differential Revision: https://phabricator.services.mozilla.com/D210791
This commit is contained in:
pollymce 2024-05-20 09:08:19 +00:00
parent dbd7895df6
commit 681a9a4c83

View file

@ -1497,7 +1497,7 @@ class Settings(private val appContext: Context) : PreferencesHolder {
var isPullToRefreshEnabledInBrowser by booleanPreference(
appContext.getPreferenceKey(R.string.pref_key_website_pull_to_refresh),
default = Config.channel.isNightlyOrDebug,
default = true,
)
var isDynamicToolbarEnabled by booleanPreference(