|
@@ -769,14 +769,17 @@ class KMUserInfoViewController: NSViewController {
|
|
|
self.viewModel.closeAccountAction()
|
|
|
}
|
|
|
|
|
|
- buyNow1BoxLeftConst.constant = 0
|
|
|
- buyNow2Box.isHidden = false
|
|
|
-
|
|
|
- //远程控制
|
|
|
- if let userViewInfoContent = KMAdvertisementManager.manager.info.userViewInfoContent {
|
|
|
- if userViewInfoContent.content?.isEmpty == false {
|
|
|
- buyNow2Box.isHidden = true
|
|
|
- buyNow1BoxLeftConst.constant = (CGRectGetWidth(view.bounds) - CGRectGetWidth(buyNow1Box.frame))/2
|
|
|
+ if IAPProductsManager.default().fourDevicesAllAccessPackNew12months_lite.isTrialPeriod == false { //没有试用过,才能显示,不然就算远程支持,功能上也不支持远程控制
|
|
|
+ //远程控制
|
|
|
+ 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
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
}
|