File tree Expand file tree Collapse file tree 3 files changed +10
-1
lines changed
WooCommerce/Classes/ViewRelated
Orders/Order Creation/ProductsSection Expand file tree Collapse file tree 3 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,6 @@ struct Inbox: View {
2121 if #available( iOS 15 . 0 , * ) {
2222 // In order to show full-width separator, the default list separator is hidden and a `Divider` is shown inside the row.
2323 InboxNoteRow ( viewModel: rowViewModel)
24- . listRowSeparator ( . hidden)
2524 } else {
2625 InboxNoteRow ( viewModel: rowViewModel)
2726 }
Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ struct AddProductToOrder: View {
2121 loadAction: viewModel. syncNextPage) {
2222 ForEach ( viewModel. productRows) { rowViewModel in
2323 createProductRow ( rowViewModel: rowViewModel)
24+ Divider ( ) . frame ( height: Constants . dividerHeight)
2425 }
2526 }
2627 case . empty:
@@ -74,6 +75,10 @@ struct AddProductToOrder: View {
7475}
7576
7677private extension AddProductToOrder {
78+ enum Constants {
79+ static let dividerHeight : CGFloat = 1
80+ }
81+
7782 enum Localization {
7883 static let title = NSLocalizedString ( " Add Product " , comment: " Title for the screen to add a product to an order " )
7984 static let close = NSLocalizedString ( " Close " , comment: " Text for the close button in the Add Product screen " )
Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ struct AddProductVariationToOrder: View {
2525 viewModel. selectVariation ( rowViewModel. productOrVariationID)
2626 isPresented. toggle ( )
2727 }
28+ Divider ( ) . frame ( height: Constants . dividerHeight)
2829 }
2930 }
3031 case . empty:
@@ -64,6 +65,10 @@ struct AddProductVariationToOrder: View {
6465}
6566
6667private extension AddProductVariationToOrder {
68+ enum Constants {
69+ static let dividerHeight : CGFloat = 1
70+ }
71+
6772 enum Localization {
6873 static let emptyStateMessage = NSLocalizedString ( " No product variations found " ,
6974 comment: " Message displayed if there are no product variations for a product. " )
You can’t perform that action at this time.
0 commit comments