|
|
|
@ -859,9 +859,10 @@ class Settings(private val appContext: Context) : PreferencesHolder {
|
|
|
|
|
/**
|
|
|
|
|
* Indicates if the jump back in CRF should be shown.
|
|
|
|
|
*/
|
|
|
|
|
var shouldShowJumpBackInCFR by booleanPreference(
|
|
|
|
|
var shouldShowJumpBackInCFR by lazyFeatureFlagPreference(
|
|
|
|
|
appContext.getPreferenceKey(R.string.pref_key_should_show_jump_back_in_tabs_popup),
|
|
|
|
|
default = true
|
|
|
|
|
featureFlag = FeatureFlags.showJumpBackInCFR,
|
|
|
|
|
default = { onboardScreenSection[OnboardingSection.JUMP_BACK_IN_CFR] == true },
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
fun getSitePermissionsPhoneFeatureAction(
|
|
|
|
@ -1226,6 +1227,15 @@ class Settings(private val appContext: Context) : PreferencesHolder {
|
|
|
|
|
default = { onboardScreenSection[OnboardingSection.HOME_ONBOARDING_DIALOG] == true },
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Indicates if home onboarding dialog should be shown.
|
|
|
|
|
*/
|
|
|
|
|
var showFirstRunOnboardingUpdate by lazyFeatureFlagPreference(
|
|
|
|
|
appContext.getPreferenceKey(R.string.pref_key_show_first_run_onboarding_update),
|
|
|
|
|
featureFlag = FeatureFlags.showFirstRunOnboardingUpdates,
|
|
|
|
|
default = { onboardScreenSection[OnboardingSection.FIRST_RUN_ONBOARDING] == true },
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Indicates if the recent tabs functionality should be visible.
|
|
|
|
|
* Returns true if the [FeatureFlags.showRecentTabsFeature] and [R.string.pref_key_recent_tabs] are true.
|
|
|
|
|