فهرست منبع

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

wanjun 1 روز پیش
والد
کامیت
3e897b8895
1فایلهای تغییر یافته به همراه8 افزوده شده و 12 حذف شده
  1. 8 12
      PDF Office/PDF Master/MemberCenter/WindowsController/KMProductCompareWC.swift

+ 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