Bug 1826387 - Enable juno onboarding nimbus flag in nightly

fenix/113.0
rahulsainani 1 year ago committed by mergify[bot]
parent ee5d46a511
commit 2c10d49b30

@ -311,6 +311,13 @@ features:
description: if true, juno onboarding is shown to the user.
type: Boolean
default: false
defaults:
- channel: nightly
value:
enabled: true
- channel: developer
value:
enabled: true
onboarding:
description: "A feature that configures the new user onboarding page.

@ -71,9 +71,4 @@ object FeatureFlags {
* Enables the notification pre permission prompt.
*/
const val notificationPrePermissionPromptEnabled = true
/**
* Enables the redesigned onboarding.
*/
const val junoOnboardingEnabled = false
}

@ -670,7 +670,7 @@ class Settings(private val appContext: Context) : PreferencesHolder {
/**
* Indicates if the re-engagement notification feature is enabled
*/
public val reEngagementNotificationType: Int
val reEngagementNotificationType: Int
get() =
FxNimbus.features.reEngagementNotification.value().type
@ -1592,11 +1592,8 @@ class Settings(private val appContext: Context) : PreferencesHolder {
/**
* Indicates if juno onboarding feature is enabled.
*/
var junoOnboardingEnabled by lazyFeatureFlagPreference(
key = appContext.getPreferenceKey(R.string.pref_key_juno_onboarding_enabled),
default = { FxNimbus.features.junoOnboarding.value().enabled },
featureFlag = FeatureFlags.junoOnboardingEnabled,
)
val junoOnboardingEnabled: Boolean
get() = FxNimbus.features.junoOnboarding.value().enabled
/**
* Indicates if the juno onboarding has been shown to the user.

@ -344,6 +344,5 @@
<string name="pref_key_is_notification_pre_permission_prompt_shown">pref_key_is_notification_pre_permission_prompt_shown</string>
<!-- Juno Onboarding -->
<string name="pref_key_juno_onboarding_enabled">pref_key_juno_onboarding_enabled</string>
<string name="pref_key_is_juno_onboarding_shown">pref_key_is_juno_onboarding_shown</string>
</resources>

Loading…
Cancel
Save