mirror of
https://github.com/fork-maintainers/iceraven-browser
synced 2024-11-02 03:40:16 +00:00
For #21765 only activate pocket by default for the right audience
(cherry picked from commit 5843fafbb6
)
This commit is contained in:
parent
01ee7e7cd8
commit
18148f2d3c
@ -62,7 +62,7 @@ class NimbusFeatures(private val context: Context) {
|
|||||||
*/
|
*/
|
||||||
fun toMap(context: Context): Map<HomeScreenSection, Boolean> {
|
fun toMap(context: Context): Map<HomeScreenSection, Boolean> {
|
||||||
return values().associate { section ->
|
return values().associate { section ->
|
||||||
val channelDefault = if (section == pocket) {
|
val channelDefault = if (section == pocket && Config.channel.isNightlyOrDebug) {
|
||||||
FeatureFlags.isPocketRecommendationsFeatureEnabled(context)
|
FeatureFlags.isPocketRecommendationsFeatureEnabled(context)
|
||||||
} else {
|
} else {
|
||||||
Config.channel.isNightlyOrDebug
|
Config.channel.isNightlyOrDebug
|
||||||
|
Loading…
Reference in New Issue
Block a user