Skip to content

Commit

Permalink
For mozilla-mobile#21765 only activate pocket by default for the righ…
Browse files Browse the repository at this point in the history
…t audience

(cherry picked from commit 5843faf)
  • Loading branch information
Amejia481 committed Oct 7, 2021
1 parent 01ee7e7 commit 18148f2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ class NimbusFeatures(private val context: Context) {
*/
fun toMap(context: Context): Map<HomeScreenSection, Boolean> {
return values().associate { section ->
val channelDefault = if (section == pocket) {
val channelDefault = if (section == pocket && Config.channel.isNightlyOrDebug) {
FeatureFlags.isPocketRecommendationsFeatureEnabled(context)
} else {
Config.channel.isNightlyOrDebug
Expand Down

0 comments on commit 18148f2

Please sign in to comment.