Skip to content

Commit

Permalink
add EXPANDED_ANALYTIC_HUB_M2 feature flag
Browse files Browse the repository at this point in the history
  • Loading branch information
Alejo committed Feb 9, 2024
1 parent e31d0dc commit 5eaac83
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ enum class FeatureFlag {
IAP_FOR_STORE_CREATION,
BETTER_CUSTOMER_SEARCH_M2,
ORDER_CREATION_AUTO_TAX_RATE,
BLAZE_I3;
BLAZE_I3,
EXPANDED_ANALYTIC_HUB_M2;

fun isEnabled(context: Context? = null): Boolean {
return when (this) {
Expand All @@ -24,7 +25,8 @@ enum class FeatureFlag {
WC_SHIPPING_BANNER,
BETTER_CUSTOMER_SEARCH_M2,
ORDER_CREATION_AUTO_TAX_RATE,
BLAZE_I3 -> PackageUtils.isDebugBuild()
BLAZE_I3,
EXPANDED_ANALYTIC_HUB_M2 -> PackageUtils.isDebugBuild()

IAP_FOR_STORE_CREATION -> false
}
Expand Down

0 comments on commit 5eaac83

Please sign in to comment.