Sfoglia il codice sorgente

【订阅】主页右上角升级按钮逻辑调整

lizhe 1 anno fa
parent
commit
09297840a6

+ 1 - 1
PDF Office/PDF Master/Class/KMLightMember/Controller/ComparativeTable/KMComparativeTableViewController.swift

@@ -65,7 +65,7 @@ var comparativeMainWindow: NSWindow?
      */
     static func show(window: NSWindow, _ type: KMComparativeInputType = .unknown, inputType: KMSubscribeWaterMarkType = .none) -> KMComparativeTableViewController? {
 #if VERSION_DMG
-        if KMLightMemberManager.manager.isLogin() {
+        if KMLightMemberManager.manager.isLogin() || type == .upgrade {
             KMPurchaseManager.manager.showStore()
         } else {
             KMLoginWindowController.show(window: window)