Преглед на файлове

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

tangchao преди 10 месеца
родител
ревизия
f01ee49733
променени са 1 файла, в които са добавени 8 реда и са изтрити 8 реда
  1. 8 8
      PDF Office/PDF Master/Class/Home/ViewController/KMHomeViewController.swift

+ 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