Skip to content

Commit 621b985

Browse files
committed
Add row details for Order Creation feature
1 parent eecf120 commit 621b985

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

WooCommerce/Classes/ViewRelated/Dashboard/Settings/Beta features/BetaFeaturesViewController.swift

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -264,12 +264,14 @@ private enum Row: CaseIterable {
264264
// Orders.
265265
case simplePayments
266266
case simplePaymentsDescription
267+
case orderCreation
268+
case orderCreationDescription
267269

268270
var type: UITableViewCell.Type {
269271
switch self {
270-
case .orderAddOns, .simplePayments:
272+
case .orderAddOns, .simplePayments, .orderCreation:
271273
return SwitchTableViewCell.self
272-
case .orderAddOnsDescription, .simplePaymentsDescription:
274+
case .orderAddOnsDescription, .simplePaymentsDescription, .orderCreationDescription:
273275
return BasicTableViewCell.self
274276
}
275277
}
@@ -289,5 +291,8 @@ private extension BetaFeaturesViewController {
289291
comment: "Cell title on the beta features screen to enable the Simple Payments feature")
290292
static let simplePaymentsDescription = NSLocalizedString("Test out creating orders with minimal information as we get ready to launch",
291293
comment: "Cell description on the beta features screen to enable the Simple Payments feature")
294+
static let orderCreationTitle = NSLocalizedString("Order Creation", comment: "Cell title on the beta features screen to enable creating new orders")
295+
static let orderCreationDescription = NSLocalizedString("Test out creating new manual orders as we get ready to launch",
296+
comment: "Cell description on the beta features screen to enable creating new orders")
292297
}
293298
}

0 commit comments

Comments
 (0)