瀏覽代碼

【内嵌支付】修复“What's New中购买跳转比较表”

wanjun 6 月之前
父節點
當前提交
6181048153
共有 1 個文件被更改,包括 6 次插入6 次删除
  1. 6 6
      PDF Office/PDF Master/Class/GuideInfo/KMFunctionGuideWindowController.swift

+ 6 - 6
PDF Office/PDF Master/Class/GuideInfo/KMFunctionGuideWindowController.swift

@@ -96,15 +96,15 @@ class KMFunctionGuideWindowController: NSWindowController {
                     if controller.currentNameKEY == controller.AIInfoKey {
 //                        var url = URL(string: AIProduct_Link)!
 //                        NSWorkspace.shared.open(url)
-                        let embeddedWC = KMPurchaseEmbeddedWindowController.currentFirstTrialWC("com.brother.pdfreaderpro.ai.product_1")
-                        embeddedWC.showWindow(nil)
-                        embeddedWC.window?.center()
+                        let singleTon = KMPurchaseCompareDMGWindowController.init()
+                        singleTon.showWindow(nil)
+                        singleTon.window?.center()
                     } else if controller.currentNameKEY == controller.MeasureInfoKey {
 //                        var url = URL(string: Store_Link)!
 //                        NSWorkspace.shared.open(url)
-                        let embeddedWC = KMPurchaseEmbeddedWindowController.currentFirstTrialWC("com.brother.pdfreaderpro.mac.product_1")
-                        embeddedWC.showWindow(nil)
-                        embeddedWC.window?.center()
+                        let singleTon = KMPurchaseCompareDMGWindowController.init()
+                        singleTon.showWindow(nil)
+                        singleTon.window?.center()
                     } else {
                         KMPrint("请配置Key...")
                     }