From 219a64cfe1622fcb57a67594993fe4697c1d60ae Mon Sep 17 00:00:00 2001 From: Hafiz Rahman Date: Thu, 12 Dec 2024 13:14:15 +0700 Subject: [PATCH] Add feature flag. --- .../main/kotlin/com/woocommerce/android/util/FeatureFlag.kt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/WooCommerce/src/main/kotlin/com/woocommerce/android/util/FeatureFlag.kt b/WooCommerce/src/main/kotlin/com/woocommerce/android/util/FeatureFlag.kt index ec0dc7a598b..c08b4aad8eb 100644 --- a/WooCommerce/src/main/kotlin/com/woocommerce/android/util/FeatureFlag.kt +++ b/WooCommerce/src/main/kotlin/com/woocommerce/android/util/FeatureFlag.kt @@ -17,7 +17,8 @@ enum class FeatureFlag { POS_NON_SIMPLE_PRODUCT_TYPES, POS_CASH_PAYMENTS, POS_RECEIPTS, - PRODUCT_GLOBAL_UNIQUE_IDENTIFIER_SUPPORT; + PRODUCT_GLOBAL_UNIQUE_IDENTIFIER_SUPPORT, + BULK_UPDATE_ORDERS_STATUS; fun isEnabled(context: Context? = null): Boolean { return when (this) { @@ -32,7 +33,8 @@ enum class FeatureFlag { POS_NON_SIMPLE_PRODUCT_TYPES, POS_CASH_PAYMENTS, POS_RECEIPTS, - PRODUCT_GLOBAL_UNIQUE_IDENTIFIER_SUPPORT -> PackageUtils.isDebugBuild() + PRODUCT_GLOBAL_UNIQUE_IDENTIFIER_SUPPORT, + BULK_UPDATE_ORDERS_STATUS -> PackageUtils.isDebugBuild() NEW_SHIPPING_SUPPORT, ENDLESS_CAMPAIGNS_SUPPORT,