소스 검색

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