File tree Expand file tree Collapse file tree 1 file changed +1
-7
lines changed
WooCommerce/Classes/ViewRelated/Coupons/Add and Edit Coupons Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -139,7 +139,7 @@ final class AddEditCouponViewModel: ObservableObject {
139139 var hasSelectedCategories : Bool {
140140 categoryIDs. isNotEmpty
141141 }
142-
142+
143143 var shareCouponMessage : String {
144144 coupon? . generateShareMessage ( currencySettings: currencySettings) ?? " "
145145 }
@@ -257,12 +257,6 @@ final class AddEditCouponViewModel: ObservableObject {
257257 codeField = code
258258 }
259259
260- /// Display the Coupon creation success view
261- ///
262- func showCouponCreationSuccess( couponCode: String , shareMessage: String ) {
263- let creationSuccessView = CouponCreationSuccess ( couponCode: couponCode, shareMessage: shareMessage) { }
264- }
265-
266260 func completeCouponAddEdit( coupon: Coupon , onUpdateFinished: @escaping ( ) -> Void ) {
267261 switch editingOption {
268262 case . creation:
You can’t perform that action at this time.
0 commit comments