We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee7c6d8 commit 730d19aCopy full SHA for 730d19a
WooCommerce/Classes/ViewRelated/Coupons/Add and Edit Coupons/AddEditCouponViewModel.swift
@@ -22,6 +22,8 @@ final class AddEditCouponViewModel: ObservableObject {
22
}
23
24
25
+ /// Text representing the label of the amount field, localized based on discount type.
26
+ ///
27
var amountText: String {
28
switch discountType {
29
case .percent:
@@ -31,6 +33,8 @@ final class AddEditCouponViewModel: ObservableObject {
31
33
32
34
35
36
+ /// Text representing the label of the amount textfield subtitle, localized based on discount type.
37
38
var amountSubtitleText: String {
39
40
0 commit comments