File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
WooCommerce/Classes/ViewRelated/Coupons/Add and Edit Coupons Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ struct AddEditCoupon: View {
2222 ListHeaderView ( text: Localization . headerCouponDetails. uppercased ( ) , alignment: . left)
2323
2424 Group {
25- TitleAndTextFieldRow ( title: viewModel. amountText ,
25+ TitleAndTextFieldRow ( title: viewModel. amountLabel ,
2626 placeholder: " 0 " ,
2727 text: $viewModel. amountField,
2828 editable: true ,
@@ -31,7 +31,7 @@ struct AddEditCoupon: View {
3131 Divider ( )
3232 . padding ( . leading, Constants . margin)
3333
34- Text ( viewModel. amountSubtitleText )
34+ Text ( viewModel. amountSubtitleLabel )
3535 . subheadlineStyle ( )
3636 . padding ( . horizontal, Constants . margin)
3737 }
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ final class AddEditCouponViewModel: ObservableObject {
2424
2525 /// Text representing the label of the amount field, localized based on discount type.
2626 ///
27- var amountText : String {
27+ var amountLabel : String {
2828 switch discountType {
2929 case . percent:
3030 return Localization . amountPercent
@@ -35,7 +35,7 @@ final class AddEditCouponViewModel: ObservableObject {
3535
3636 /// Text representing the label of the amount textfield subtitle, localized based on discount type.
3737 ///
38- var amountSubtitleText : String {
38+ var amountSubtitleLabel : String {
3939 switch discountType {
4040 case . percent:
4141 return Localization . amountPercentSubtitle
You can’t perform that action at this time.
0 commit comments