diff --git a/app/src/main/java/org/mozilla/fenix/utils/Settings.kt b/app/src/main/java/org/mozilla/fenix/utils/Settings.kt index c5709dae1..700cc838b 100644 --- a/app/src/main/java/org/mozilla/fenix/utils/Settings.kt +++ b/app/src/main/java/org/mozilla/fenix/utils/Settings.kt @@ -1292,9 +1292,9 @@ class Settings(private val appContext: Context) : PreferencesHolder { /** * Indicates if the Contile functionality should be visible. */ - var showContileFeature by featureFlagPreference( + var showContileFeature by lazyFeatureFlagPreference( key = appContext.getPreferenceKey(R.string.pref_key_enable_contile), - default = false, + default = { homescreenSections[HomeScreenSection.CONTILE_TOP_SITES] == true }, featureFlag = FeatureFlags.contileFeature, ) diff --git a/nimbus.fml.yaml b/nimbus.fml.yaml index bbdbf0bf6..65f1a8b24 100644 --- a/nimbus.fml.yaml +++ b/nimbus.fml.yaml @@ -18,7 +18,8 @@ features: "jump-back-in": true, "recently-saved": true, "recent-explorations": true, - "pocket": true + "pocket": true, + "contile-top-sites": false, } defaults: - channel: nightly @@ -28,7 +29,8 @@ features: "jump-back-in": true, "recently-saved": true, "recent-explorations": true, - "pocket": true + "pocket": true, + "contile-top-sites": false, } } nimbus-validation: @@ -84,6 +86,8 @@ types: description: The tab groups pocket: description: The pocket section. This should only be available in the US. + contile-top-sites: + description: The sponsored shortcuts in the homescreen. MessageSurfaceId: description: The identity of a message surface, used in the default browser experiments variants: