File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed
WooCommerce/Classes/ViewRelated/Coupons/CouponDetails Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -122,6 +122,19 @@ struct CouponDetails: View {
122122 }
123123 }
124124 . background ( Color ( . listForeground) )
125+
126+ Spacer ( ) . frame ( height: Constants . margin)
127+ Divider ( )
128+ VStack {
129+ NavigationRow ( content: {
130+ Text ( Localization . usageDetails)
131+ . bodyStyle ( )
132+ } , action: {
133+ // TODO-5766: Add usage details screen
134+ } ) . padding ( . horizontal, insets: geometry. safeAreaInsets)
135+ }
136+ . background ( Color ( . listForeground) )
137+ Divider ( )
125138 }
126139 }
127140 . background ( Color ( . listBackground) )
@@ -165,6 +178,7 @@ private extension CouponDetails {
165178 static let performance = NSLocalizedString ( " Performance " , comment: " Title of the Performance section on Coupons Details screen " )
166179 static let discountedOrders = NSLocalizedString ( " Discounted Orders " , comment: " Title of the Discounted Orders label on Coupon Details screen " )
167180 static let amount = NSLocalizedString ( " Amount " , comment: " Title of the Amount label on Coupon Details screen " )
181+ static let usageDetails = NSLocalizedString ( " Usage details " , comment: " Title of the Usage details row in Coupon Details screen " )
168182 }
169183
170184 struct DetailRow : Identifiable {
You can’t perform that action at this time.
0 commit comments