Skip to content

Commit

Permalink
Merge branch 'trunk' into issue/handle-selected-package
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomazFB authored Dec 12, 2024
2 parents c8a8eba + a58e05d commit 680eb03
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ enum class FeatureFlag {
OBJECTIVE_SECTION,
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) {
Expand All @@ -30,7 +31,8 @@ enum class FeatureFlag {
REVAMP_WOO_SHIPPING,
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,
Expand Down

0 comments on commit 680eb03

Please sign in to comment.