Просмотр исходного кода

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

tangchao 6 дней назад
Родитель
Сommit
5a2dc5d79b

+ 5 - 1
PDF Office/PDF Master/MemberCenter/ViewController/KMUserInfoViewController.swift

@@ -794,7 +794,11 @@ class KMUserInfoViewController: NSViewController {
         
         if isTrialPeriod == false { //没有试用过,才能显示,不然就算远程支持,功能上也不支持远程控制
             //远程控制
-            if let userViewInfoContent = KMAdvertisementManager.manager.info.userViewInfoContent {                
+            if let userViewInfoContent = KMAdvertisementManager.manager.info.userViewInfoContent {
+                
+                buyNow1BoxLeftConst.constant = 0
+                buyNow2Box.isHidden = false
+                
                 if userViewInfoContent.content?.isEmpty == false {
                     buyNow2Box.isHidden = true
                     buyNow1BoxLeftConst.constant = (CGRectGetWidth(view.bounds) - CGRectGetWidth(buyNow1Box.frame))/2