Quellcode durchsuchen

【会员系统】免费版订阅产品价格调整

wanjun vor 4 Tagen
Ursprung
Commit
3e897b8895

+ 8 - 12
PDF Office/PDF Master/MemberCenter/WindowsController/KMProductCompareWC.swift

@@ -988,20 +988,16 @@ class KMProductCompareWC: NSWindowController {
         if #available(macOS 10.13.2, *) {
 #if !VERSION_DMG
             if model.isPurchaseSwitch {
-                if (IAPProductsManager.default().fourDevicesAllAccessPackNew12months_lite.product?.introductoryPrice == nil) {
-                    if model.isShowSale {
-                        tTips = String(format: NSLocalizedString("%@ for the first year's subscription", comment: ""), monthPriceDiscount ?? "")
-                    } else {
-                        tTips = String(format: NSLocalizedString("Billed every 12 months at %@", comment: ""), monthPrice ?? "")
-                    }
+                if model.isShowSale {
+                    tTips = String(format: NSLocalizedString("%@ for the first year's subscription", comment: ""), monthPriceDiscount ?? "")
+                } else {
+                    tTips = String(format: NSLocalizedString("Billed every 12 months at %@", comment: ""), monthPrice ?? "")
                 }
             } else {
-                if (IAPProductsManager.default().fourDevicesAllAccessPackNew6Months_lite.product.introductoryPrice == nil) {
-                    if model.isShowSale {
-                        tTips = String(format: NSLocalizedString("%@ for the first 6-month subscription", comment: ""), monthPriceDiscount ?? "")
-                    } else {
-                        tTips = String(format: NSLocalizedString("Billed every 6 months at %@", comment: ""), monthPrice ?? "")
-                    }
+                if model.isShowSale {
+                    tTips = String(format: NSLocalizedString("%@ for the first 6-month subscription", comment: ""), monthPriceDiscount ?? "")
+                } else {
+                    tTips = String(format: NSLocalizedString("Billed every 6 months at %@", comment: ""), monthPrice ?? "")
                 }
             }
 #endif