File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
WooCommerce/Classes/ViewRelated/Coupons/Add and Edit Coupons/UsageDetails Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -25,6 +25,13 @@ struct CouponAllowedEmails: View {
2525 }
2626 . navigationTitle ( Localization . title)
2727 . navigationBarTitleDisplayMode ( . inline)
28+ . toolbar {
29+ ToolbarItem ( placement: . navigationBarTrailing) {
30+ Button ( action: {
31+ // TODO: validate
32+ } , label: Localization . done)
33+ }
34+ }
2835 }
2936}
3037
@@ -41,6 +48,7 @@ private extension CouponAllowedEmails {
4148 " Separate email addresses with commas. You can also use an asterisk (*) " +
4249 " to match parts of an email. For example \" *@gmail.com \" would match all gmail addresses. " ,
4350 comment: " Description of the allowed emails field for coupons " )
51+ static let done = NSLocalizedString ( " Done " , comment: " Done button on the Allowed Emails screen " )
4452 }
4553}
4654
You can’t perform that action at this time.
0 commit comments