|
@@ -362,16 +362,20 @@ class KMProductCompareWC: NSWindowController {
|
|
if model.state == .lite_Base {
|
|
if model.state == .lite_Base {
|
|
permanentPurchaseLabel.stringValue = model.getProductPrice(.allAccessPackPermanent_lite)
|
|
permanentPurchaseLabel.stringValue = model.getProductPrice(.allAccessPackPermanent_lite)
|
|
} else if model.state == .lite_MacWindows {
|
|
} else if model.state == .lite_MacWindows {
|
|
- let platforms = KMMemberInfo.shared.vip_platforms
|
|
|
|
- let platformsArray = platforms
|
|
|
|
- .components(separatedBy: ",")
|
|
|
|
- .map { $0.trimmingCharacters(in: .whitespaces) }
|
|
|
|
- if platformsArray.count == 1 {
|
|
|
|
- advancedPlanPurchaseLabel.stringValue = model.getProductPrice(.advancedAddDevicesAllAccessPack12months_lite)
|
|
|
|
- } else if platformsArray.count == 2 {
|
|
|
|
- advancedPlanPurchaseLabel.stringValue = model.getProductPrice(.advancedAdd2DevicesAllAccessPack12months_lite)
|
|
|
|
|
|
+ if KMMemberInfo.shared.userScenarioType == .lite_type5 {
|
|
|
|
+ let platforms = KMMemberInfo.shared.vip_platforms
|
|
|
|
+ let platformsArray = platforms
|
|
|
|
+ .components(separatedBy: ",")
|
|
|
|
+ .map { $0.trimmingCharacters(in: .whitespaces) }
|
|
|
|
+ if platformsArray.count == 1 {
|
|
|
|
+ advancedPlanPurchaseLabel.stringValue = model.getProductPrice(.advancedAddDevicesAllAccessPack12months_lite)
|
|
|
|
+ } else if platformsArray.count == 2 {
|
|
|
|
+ advancedPlanPurchaseLabel.stringValue = model.getProductPrice(.advancedAdd2DevicesAllAccessPack12months_lite)
|
|
|
|
+ } else {
|
|
|
|
+ advancedPlanPurchaseLabel.stringValue = model.getProductPrice(.advancedAdd2DevicesAllAccessPack12months_lite)
|
|
|
|
+ }
|
|
} else {
|
|
} else {
|
|
- advancedPlanPurchaseLabel.stringValue = model.getProductPrice(.advancedAdd2DevicesAllAccessPack12months_lite)
|
|
|
|
|
|
+ advancedPlanPurchaseLabel.stringValue = model.getProductPrice(.advancedAddDevicesAllAccessPack12months_lite)
|
|
}
|
|
}
|
|
} else {
|
|
} else {
|
|
// model.state == .trial
|
|
// model.state == .trial
|