Browse Source

Merge branch 'develop_PDFReaderProNew' of git.kdan.cc:Mac_PDF/PDF_Office into develop_PDFReaderProNew

tangchao 10 months ago
parent
commit
f01ee49733

+ 8 - 8
PDF Office/PDF Master/Class/Home/ViewController/KMHomeViewController.swift

@@ -866,14 +866,14 @@ extension KMHomeViewController {
      
     
     func showAITypeChooseView() -> Void {
-//        if AIInfoManager.default().aiInfo.infoDict.isEmpty == true {
-//#if VERSION_DMG
-//            KMPurchaseCompareWindowController.dmgPurchaseInstance().showWindow(nil)
-//#else
-//            AIPurchaseWindowController.currentWC().showWindow(nil)
-//#endif
-//            return
-//        }
+        if AIInfoManager.default().aiInfo.infoDict.isEmpty == true {
+#if VERSION_DMG
+            KMPurchaseCompareWindowController.dmgPurchaseInstance().showWindow(nil)
+#else
+            AIPurchaseWindowController.currentWC().showWindow(nil)
+#endif
+            return
+        }
         let controller = NSViewController.init()
         let view = NSView.init()
         controller.view = view