For #21765 only activate pocket by default for the right audience

(cherry picked from commit 5843fafbb6)
pull/415/head
Arturo Mejia 3 years ago
parent 01ee7e7cd8
commit 18148f2d3c

@ -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

Loading…
Cancel
Save