瀏覽代碼

added public init modifier

Jan Remes 6 年之前
父節點
當前提交
fc365ddfaa
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      SwiftyStoreKit/PaymentsController.swift

+ 1 - 1
SwiftyStoreKit/PaymentsController.swift

@@ -52,7 +52,7 @@ public struct PaymentDiscount {
     let discount: AnyObject
     
     @available(iOS 12.2, *)
-    init(discount: SKPaymentDiscount) {
+    public init(discount: SKPaymentDiscount) {
         self.discount = discount
     }
 }