소스 검색

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

wanjun 4 일 전
부모
커밋
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