|
@@ -167,9 +167,17 @@ class KMUserInfoViewController: NSViewController {
|
|
number3Label.stringValue = NSLocalizedString("Platform", tableName: "MemberCenterLocalizable", comment: "")
|
|
number3Label.stringValue = NSLocalizedString("Platform", tableName: "MemberCenterLocalizable", comment: "")
|
|
}
|
|
}
|
|
|
|
|
|
- if KMMemberInfo.shared.userScenarioType == .lite_type1 || KMMemberInfo.shared.userScenarioType == .lite_type9 {
|
|
|
|
|
|
+ if KMMemberInfo.shared.userScenarioType == .lite_type1 {
|
|
buyNow1Label.stringValue = NSLocalizedString("Buy Now", tableName: "MemberCenterLocalizable", comment: "")
|
|
buyNow1Label.stringValue = NSLocalizedString("Buy Now", tableName: "MemberCenterLocalizable", comment: "")
|
|
buyNow2Label.stringValue = NSLocalizedString("7-Day Free Trial", tableName: "MemberCenterLocalizable", comment: "")
|
|
buyNow2Label.stringValue = NSLocalizedString("7-Day Free Trial", tableName: "MemberCenterLocalizable", comment: "")
|
|
|
|
+ } else if KMMemberInfo.shared.userScenarioType == .lite_type9 {
|
|
|
|
+ if(KMMemberInfo.shared.vip_status == 2) {
|
|
|
|
+ buyNow3Label.stringValue = NSLocalizedString("Renew now", tableName: "MemberCenterLocalizable", comment: "")
|
|
|
|
+ } else if (KMMemberInfo.shared.vip_status == 4) {
|
|
|
|
+ buyNow3Label.stringValue = NSLocalizedString("Buy Now", tableName: "MemberCenterLocalizable", comment: "")
|
|
|
|
+ } else {
|
|
|
|
+ buyNow3Label.stringValue = NSLocalizedString("Upgrade Now", tableName: "MemberCenterLocalizable", comment: "")
|
|
|
|
+ }
|
|
} else if KMMemberInfo.shared.userScenarioType == .lite_type3 {
|
|
} else if KMMemberInfo.shared.userScenarioType == .lite_type3 {
|
|
buyNow3Label.stringValue = NSLocalizedString("Buy Now", tableName: "MemberCenterLocalizable", comment: "")
|
|
buyNow3Label.stringValue = NSLocalizedString("Buy Now", tableName: "MemberCenterLocalizable", comment: "")
|
|
} else if KMMemberInfo.shared.userScenarioType == .lite_type11 {
|
|
} else if KMMemberInfo.shared.userScenarioType == .lite_type11 {
|
|
@@ -229,15 +237,7 @@ class KMUserInfoViewController: NSViewController {
|
|
number4_1Label.textColor = NSColor(hex: "42464D")
|
|
number4_1Label.textColor = NSColor(hex: "42464D")
|
|
number5Label.textColor = NSColor(hex: "42464D")
|
|
number5Label.textColor = NSColor(hex: "42464D")
|
|
} else if KMMemberInfo.shared.userScenarioType == .lite_type4 {
|
|
} else if KMMemberInfo.shared.userScenarioType == .lite_type4 {
|
|
- if(KMMemberInfo.shared.vip_cycle == 1) {
|
|
|
|
- lockedLabel.stringValue = NSLocalizedString("Monthly Plan", tableName: "MemberCenterLocalizable", comment: "")
|
|
|
|
- } else if(KMMemberInfo.shared.vip_cycle == 2) {
|
|
|
|
- lockedLabel.stringValue = NSLocalizedString("", tableName: "MemberCenterLocalizable", comment: "")
|
|
|
|
- } else if(KMMemberInfo.shared.vip_cycle == 3) {
|
|
|
|
- lockedLabel.stringValue = NSLocalizedString("6-Month Plan", tableName: "MemberCenterLocalizable", comment: "")
|
|
|
|
- } else if(KMMemberInfo.shared.vip_cycle == 4) {
|
|
|
|
- lockedLabel.stringValue = NSLocalizedString("Annual Plan", tableName: "MemberCenterLocalizable", comment: "")
|
|
|
|
- }
|
|
|
|
|
|
+ lockedLabel.stringValue = NSLocalizedString("Subscription", tableName: "MemberCenterLocalizable", comment: "")
|
|
lockedImageView.image = NSImage(named: "UpgradeImage2")
|
|
lockedImageView.image = NSImage(named: "UpgradeImage2")
|
|
number1Label.stringValue = NSLocalizedString("", tableName: "MemberCenterLocalizable", comment: "")
|
|
number1Label.stringValue = NSLocalizedString("", tableName: "MemberCenterLocalizable", comment: "")
|
|
if KMMemberInfo.shared.vip_levels == "2" {
|
|
if KMMemberInfo.shared.vip_levels == "2" {
|
|
@@ -254,7 +254,7 @@ class KMUserInfoViewController: NSViewController {
|
|
number4_1Label.textColor = NSColor(named: "FFFFFF")
|
|
number4_1Label.textColor = NSColor(named: "FFFFFF")
|
|
number5Label.textColor = NSColor(named: "FFFFFF")
|
|
number5Label.textColor = NSColor(named: "FFFFFF")
|
|
} else if KMMemberInfo.shared.userScenarioType == .lite_type5 {
|
|
} else if KMMemberInfo.shared.userScenarioType == .lite_type5 {
|
|
- lockedLabel.stringValue = NSLocalizedString("Permanent Plan", tableName: "MemberCenterLocalizable", comment: "")
|
|
|
|
|
|
+ lockedLabel.stringValue = NSLocalizedString("Permanent", tableName: "MemberCenterLocalizable", comment: "")
|
|
lockedImageView.image = NSImage(named: "UpgradeImage2")
|
|
lockedImageView.image = NSImage(named: "UpgradeImage2")
|
|
number1Label.stringValue = NSLocalizedString("", tableName: "MemberCenterLocalizable", comment: "")
|
|
number1Label.stringValue = NSLocalizedString("", tableName: "MemberCenterLocalizable", comment: "")
|
|
if KMMemberInfo.shared.vip_levels == "2" {
|
|
if KMMemberInfo.shared.vip_levels == "2" {
|
|
@@ -271,7 +271,7 @@ class KMUserInfoViewController: NSViewController {
|
|
number4_1Label.textColor = NSColor(named: "FFFFFF")
|
|
number4_1Label.textColor = NSColor(named: "FFFFFF")
|
|
number5Label.textColor = NSColor(named: "FFFFFF")
|
|
number5Label.textColor = NSColor(named: "FFFFFF")
|
|
} else if KMMemberInfo.shared.userScenarioType == .lite_type6 {
|
|
} else if KMMemberInfo.shared.userScenarioType == .lite_type6 {
|
|
- lockedLabel.stringValue = NSLocalizedString("Annual Plan", tableName: "MemberCenterLocalizable", comment: "")
|
|
|
|
|
|
+ lockedLabel.stringValue = NSLocalizedString("Subscription", tableName: "MemberCenterLocalizable", comment: "")
|
|
lockedImageView.image = NSImage(named: "UpgradeImage2")
|
|
lockedImageView.image = NSImage(named: "UpgradeImage2")
|
|
number1Label.stringValue = NSLocalizedString("", tableName: "MemberCenterLocalizable", comment: "")
|
|
number1Label.stringValue = NSLocalizedString("", tableName: "MemberCenterLocalizable", comment: "")
|
|
if KMMemberInfo.shared.vip_levels == "2" {
|
|
if KMMemberInfo.shared.vip_levels == "2" {
|
|
@@ -303,15 +303,7 @@ class KMUserInfoViewController: NSViewController {
|
|
number4_1Label.textColor = NSColor(hex: "42464D")
|
|
number4_1Label.textColor = NSColor(hex: "42464D")
|
|
number5Label.textColor = NSColor(hex: "42464D")
|
|
number5Label.textColor = NSColor(hex: "42464D")
|
|
} else if KMMemberInfo.shared.userScenarioType == .lite_type8 {
|
|
} else if KMMemberInfo.shared.userScenarioType == .lite_type8 {
|
|
- if(KMMemberInfo.shared.vip_cycle == 1) {
|
|
|
|
- lockedLabel.stringValue = NSLocalizedString("Monthly Plan", tableName: "MemberCenterLocalizable", comment: "")
|
|
|
|
- } else if(KMMemberInfo.shared.vip_cycle == 2) {
|
|
|
|
- lockedLabel.stringValue = NSLocalizedString("", tableName: "MemberCenterLocalizable", comment: "")
|
|
|
|
- } else if(KMMemberInfo.shared.vip_cycle == 3) {
|
|
|
|
- lockedLabel.stringValue = NSLocalizedString("6-Month Plan", tableName: "MemberCenterLocalizable", comment: "")
|
|
|
|
- } else if(KMMemberInfo.shared.vip_cycle == 4) {
|
|
|
|
- lockedLabel.stringValue = NSLocalizedString("Annual Plan", tableName: "MemberCenterLocalizable", comment: "")
|
|
|
|
- }
|
|
|
|
|
|
+ lockedLabel.stringValue = NSLocalizedString("Subscription", tableName: "MemberCenterLocalizable", comment: "")
|
|
lockedImageView.image = NSImage(named: "UpgradeImage2")
|
|
lockedImageView.image = NSImage(named: "UpgradeImage2")
|
|
number1Label.stringValue = NSLocalizedString("", tableName: "MemberCenterLocalizable", comment: "")
|
|
number1Label.stringValue = NSLocalizedString("", tableName: "MemberCenterLocalizable", comment: "")
|
|
if KMMemberInfo.shared.vip_levels == "2" {
|
|
if KMMemberInfo.shared.vip_levels == "2" {
|
|
@@ -342,7 +334,7 @@ class KMUserInfoViewController: NSViewController {
|
|
number4_1Label.textColor = NSColor(hex: "42464D")
|
|
number4_1Label.textColor = NSColor(hex: "42464D")
|
|
number5Label.textColor = NSColor(hex: "42464D")
|
|
number5Label.textColor = NSColor(hex: "42464D")
|
|
} else if KMMemberInfo.shared.userScenarioType == .lite_type10 {
|
|
} else if KMMemberInfo.shared.userScenarioType == .lite_type10 {
|
|
- lockedLabel.stringValue = NSLocalizedString("Annual Plan", tableName: "MemberCenterLocalizable", comment: "")
|
|
|
|
|
|
+ lockedLabel.stringValue = NSLocalizedString("Subscription", tableName: "MemberCenterLocalizable", comment: "")
|
|
lockedImageView.image = NSImage(named: "UpgradeImage2")
|
|
lockedImageView.image = NSImage(named: "UpgradeImage2")
|
|
number1Label.stringValue = NSLocalizedString("", tableName: "MemberCenterLocalizable", comment: "")
|
|
number1Label.stringValue = NSLocalizedString("", tableName: "MemberCenterLocalizable", comment: "")
|
|
number2Label.stringValue = NSLocalizedString("Advanced Version", tableName: "MemberCenterLocalizable", comment: "")
|
|
number2Label.stringValue = NSLocalizedString("Advanced Version", tableName: "MemberCenterLocalizable", comment: "")
|
|
@@ -369,15 +361,7 @@ class KMUserInfoViewController: NSViewController {
|
|
number4_1Label.textColor = NSColor(hex: "42464D")
|
|
number4_1Label.textColor = NSColor(hex: "42464D")
|
|
number5Label.textColor = NSColor(hex: "42464D")
|
|
number5Label.textColor = NSColor(hex: "42464D")
|
|
} else if KMMemberInfo.shared.userScenarioType == .lite_type12 {
|
|
} else if KMMemberInfo.shared.userScenarioType == .lite_type12 {
|
|
- if(KMMemberInfo.shared.vip_cycle == 1) {
|
|
|
|
- lockedLabel.stringValue = NSLocalizedString("Monthly Plan", tableName: "MemberCenterLocalizable", comment: "")
|
|
|
|
- } else if(KMMemberInfo.shared.vip_cycle == 2) {
|
|
|
|
- lockedLabel.stringValue = NSLocalizedString("", tableName: "MemberCenterLocalizable", comment: "")
|
|
|
|
- } else if(KMMemberInfo.shared.vip_cycle == 3) {
|
|
|
|
- lockedLabel.stringValue = NSLocalizedString("6-Month Plan", tableName: "MemberCenterLocalizable", comment: "")
|
|
|
|
- } else if(KMMemberInfo.shared.vip_cycle == 4) {
|
|
|
|
- lockedLabel.stringValue = NSLocalizedString("Annual Plan", tableName: "MemberCenterLocalizable", comment: "")
|
|
|
|
- }
|
|
|
|
|
|
+ lockedLabel.stringValue = NSLocalizedString("Subscription", tableName: "MemberCenterLocalizable", comment: "")
|
|
lockedImageView.image = NSImage(named: "UpgradeImage2")
|
|
lockedImageView.image = NSImage(named: "UpgradeImage2")
|
|
number1Label.stringValue = NSLocalizedString("", tableName: "MemberCenterLocalizable", comment: "")
|
|
number1Label.stringValue = NSLocalizedString("", tableName: "MemberCenterLocalizable", comment: "")
|
|
if(KMMemberInfo.shared.vip_levels == "2") {
|
|
if(KMMemberInfo.shared.vip_levels == "2") {
|
|
@@ -394,15 +378,7 @@ class KMUserInfoViewController: NSViewController {
|
|
number4_1Label.textColor = NSColor(named: "FFFFFF")
|
|
number4_1Label.textColor = NSColor(named: "FFFFFF")
|
|
number5Label.textColor = NSColor(named: "FFFFFF")
|
|
number5Label.textColor = NSColor(named: "FFFFFF")
|
|
} else if KMMemberInfo.shared.userScenarioType == .lite_type13 {
|
|
} else if KMMemberInfo.shared.userScenarioType == .lite_type13 {
|
|
- if(KMMemberInfo.shared.vip_cycle == 1) {
|
|
|
|
- lockedLabel.stringValue = NSLocalizedString("Monthly Plan", tableName: "MemberCenterLocalizable", comment: "")
|
|
|
|
- } else if(KMMemberInfo.shared.vip_cycle == 2) {
|
|
|
|
- lockedLabel.stringValue = NSLocalizedString("", tableName: "MemberCenterLocalizable", comment: "")
|
|
|
|
- } else if(KMMemberInfo.shared.vip_cycle == 3) {
|
|
|
|
- lockedLabel.stringValue = NSLocalizedString("6-Month Plan", tableName: "MemberCenterLocalizable", comment: "")
|
|
|
|
- } else if(KMMemberInfo.shared.vip_cycle == 4) {
|
|
|
|
- lockedLabel.stringValue = NSLocalizedString("Annual Plan", tableName: "MemberCenterLocalizable", comment: "")
|
|
|
|
- }
|
|
|
|
|
|
+ lockedLabel.stringValue = NSLocalizedString("Subscription", tableName: "MemberCenterLocalizable", comment: "")
|
|
lockedImageView.image = NSImage(named: "UpgradeImage2")
|
|
lockedImageView.image = NSImage(named: "UpgradeImage2")
|
|
number1Label.stringValue = NSLocalizedString("", tableName: "MemberCenterLocalizable", comment: "")
|
|
number1Label.stringValue = NSLocalizedString("", tableName: "MemberCenterLocalizable", comment: "")
|
|
if KMMemberInfo.shared.vip_levels == "2" {
|
|
if KMMemberInfo.shared.vip_levels == "2" {
|
|
@@ -433,10 +409,14 @@ class KMUserInfoViewController: NSViewController {
|
|
number4_1Label.textColor = NSColor(hex: "42464D")
|
|
number4_1Label.textColor = NSColor(hex: "42464D")
|
|
number5Label.textColor = NSColor(hex: "42464D")
|
|
number5Label.textColor = NSColor(hex: "42464D")
|
|
} else if KMMemberInfo.shared.userScenarioType == .pro_type2 {
|
|
} else if KMMemberInfo.shared.userScenarioType == .pro_type2 {
|
|
- lockedLabel.stringValue = NSLocalizedString("Annual Plan", tableName: "MemberCenterLocalizable", comment: "")
|
|
|
|
|
|
+ lockedLabel.stringValue = NSLocalizedString("Subscription", tableName: "MemberCenterLocalizable", comment: "")
|
|
lockedImageView.image = NSImage(named: "UpgradeImage2")
|
|
lockedImageView.image = NSImage(named: "UpgradeImage2")
|
|
number1Label.stringValue = NSLocalizedString("", tableName: "MemberCenterLocalizable", comment: "")
|
|
number1Label.stringValue = NSLocalizedString("", tableName: "MemberCenterLocalizable", comment: "")
|
|
- number2Label.stringValue = NSLocalizedString("Advanced Version", tableName: "MemberCenterLocalizable", comment: "")
|
|
|
|
|
|
+ if KMMemberInfo.shared.vip_levels == "2" {
|
|
|
|
+ number2Label.stringValue = NSLocalizedString("Standard Version", tableName: "MemberCenterLocalizable", comment: "")
|
|
|
|
+ } else {
|
|
|
|
+ number2Label.stringValue = NSLocalizedString("Advanced Version", tableName: "MemberCenterLocalizable", comment: "")
|
|
|
|
+ }
|
|
number1ImageView.isHidden = false
|
|
number1ImageView.isHidden = false
|
|
number1Label.isHidden = true
|
|
number1Label.isHidden = true
|
|
centerBackgroud.image = NSImage(named: "ButtonBackgroundImage5")
|
|
centerBackgroud.image = NSImage(named: "ButtonBackgroundImage5")
|
|
@@ -460,10 +440,14 @@ class KMUserInfoViewController: NSViewController {
|
|
number4_1Label.textColor = NSColor(hex: "42464D")
|
|
number4_1Label.textColor = NSColor(hex: "42464D")
|
|
number5Label.textColor = NSColor(hex: "42464D")
|
|
number5Label.textColor = NSColor(hex: "42464D")
|
|
} else if KMMemberInfo.shared.userScenarioType == .pro_type4 {
|
|
} else if KMMemberInfo.shared.userScenarioType == .pro_type4 {
|
|
- lockedLabel.stringValue = NSLocalizedString("Permanent Plan", tableName: "MemberCenterLocalizable", comment: "")
|
|
|
|
|
|
+ lockedLabel.stringValue = NSLocalizedString("Permanent", tableName: "MemberCenterLocalizable", comment: "")
|
|
lockedImageView.image = NSImage(named: "UpgradeImage2")
|
|
lockedImageView.image = NSImage(named: "UpgradeImage2")
|
|
number1Label.stringValue = NSLocalizedString("", tableName: "MemberCenterLocalizable", comment: "")
|
|
number1Label.stringValue = NSLocalizedString("", tableName: "MemberCenterLocalizable", comment: "")
|
|
- number2Label.stringValue = NSLocalizedString("Advanced Version", tableName: "MemberCenterLocalizable", comment: "")
|
|
|
|
|
|
+ if KMMemberInfo.shared.vip_levels == "2" {
|
|
|
|
+ number2Label.stringValue = NSLocalizedString("Standard Version", tableName: "MemberCenterLocalizable", comment: "")
|
|
|
|
+ } else {
|
|
|
|
+ number2Label.stringValue = NSLocalizedString("Advanced Version", tableName: "MemberCenterLocalizable", comment: "")
|
|
|
|
+ }
|
|
number1ImageView.isHidden = false
|
|
number1ImageView.isHidden = false
|
|
number1Label.isHidden = true
|
|
number1Label.isHidden = true
|
|
centerBackgroud.image = NSImage(named: "ButtonBackgroundImage4")
|
|
centerBackgroud.image = NSImage(named: "ButtonBackgroundImage4")
|
|
@@ -473,10 +457,14 @@ class KMUserInfoViewController: NSViewController {
|
|
number4_1Label.textColor = NSColor(named: "FFFFFF")
|
|
number4_1Label.textColor = NSColor(named: "FFFFFF")
|
|
number5Label.textColor = NSColor(named: "FFFFFF")
|
|
number5Label.textColor = NSColor(named: "FFFFFF")
|
|
} else if KMMemberInfo.shared.userScenarioType == .pro_type5 {
|
|
} else if KMMemberInfo.shared.userScenarioType == .pro_type5 {
|
|
- lockedLabel.stringValue = NSLocalizedString("Annual Plan", tableName: "MemberCenterLocalizable", comment: "")
|
|
|
|
|
|
+ lockedLabel.stringValue = NSLocalizedString("Subscription", tableName: "MemberCenterLocalizable", comment: "")
|
|
lockedImageView.image = NSImage(named: "UpgradeImage2")
|
|
lockedImageView.image = NSImage(named: "UpgradeImage2")
|
|
number1Label.stringValue = NSLocalizedString("", tableName: "MemberCenterLocalizable", comment: "")
|
|
number1Label.stringValue = NSLocalizedString("", tableName: "MemberCenterLocalizable", comment: "")
|
|
- number2Label.stringValue = NSLocalizedString("Advanced Version", tableName: "MemberCenterLocalizable", comment: "")
|
|
|
|
|
|
+ if KMMemberInfo.shared.vip_levels == "2" {
|
|
|
|
+ number2Label.stringValue = NSLocalizedString("Standard Version", tableName: "MemberCenterLocalizable", comment: "")
|
|
|
|
+ } else {
|
|
|
|
+ number2Label.stringValue = NSLocalizedString("Advanced Version", tableName: "MemberCenterLocalizable", comment: "")
|
|
|
|
+ }
|
|
number1ImageView.isHidden = false
|
|
number1ImageView.isHidden = false
|
|
number1Label.isHidden = true
|
|
number1Label.isHidden = true
|
|
centerBackgroud.image = NSImage(named: "ButtonBackgroundImage5")
|
|
centerBackgroud.image = NSImage(named: "ButtonBackgroundImage5")
|
|
@@ -512,7 +500,7 @@ class KMUserInfoViewController: NSViewController {
|
|
} else {
|
|
} else {
|
|
self.view.layer?.backgroundColor = NSColor(hex: "FFFFFF").cgColor;
|
|
self.view.layer?.backgroundColor = NSColor(hex: "FFFFFF").cgColor;
|
|
}
|
|
}
|
|
-
|
|
|
|
|
|
+
|
|
userImageView.image = NSImage(named: "UserProfilePicture_Size")
|
|
userImageView.image = NSImage(named: "UserProfilePicture_Size")
|
|
emailLabel.textColor = NSColor(named: "0E1114")
|
|
emailLabel.textColor = NSColor(named: "0E1114")
|
|
emailLabel.font = NSFont.SFMediumFontWithSize(14)
|
|
emailLabel.font = NSFont.SFMediumFontWithSize(14)
|
|
@@ -565,12 +553,13 @@ class KMUserInfoViewController: NSViewController {
|
|
closeAccountLabel.font = NSFont.SFProTextRegularFont(14)
|
|
closeAccountLabel.font = NSFont.SFProTextRegularFont(14)
|
|
closeAccountImageView.image = NSImage(named: "CloseAccountImage")
|
|
closeAccountImageView.image = NSImage(named: "CloseAccountImage")
|
|
buyNow3Box.fillColor = NSColor(named: "FFFFFF") ?? .white
|
|
buyNow3Box.fillColor = NSColor(named: "FFFFFF") ?? .white
|
|
|
|
+
|
|
|
|
+ var isNoOldSubscribed = false
|
|
|
|
+#if VERSION_FREE
|
|
#if !VERSION_DMG
|
|
#if !VERSION_DMG
|
|
- let isNoOldSubscribed = IAPProductsManager.default().allAccessPack6months_lite.isSubscribed == false && IAPProductsManager.default().allAccessPack12months_lite.isSubscribed == false
|
|
|
|
-#else
|
|
|
|
- let isNoOldSubscribed = true
|
|
|
|
|
|
+ isNoOldSubscribed = IAPProductsManager.default().allAccessPack6months_lite.isSubscribed == false && IAPProductsManager.default().allAccessPack12months_lite.isSubscribed == false
|
|
|
|
+#endif
|
|
#endif
|
|
#endif
|
|
-
|
|
|
|
if KMMemberInfo.shared.userScenarioType == .lite_type1 ||
|
|
if KMMemberInfo.shared.userScenarioType == .lite_type1 ||
|
|
KMMemberInfo.shared.userScenarioType == .lite_type2 ||
|
|
KMMemberInfo.shared.userScenarioType == .lite_type2 ||
|
|
KMMemberInfo.shared.userScenarioType == .lite_type3 ||
|
|
KMMemberInfo.shared.userScenarioType == .lite_type3 ||
|
|
@@ -620,7 +609,7 @@ class KMUserInfoViewController: NSViewController {
|
|
arrow3ImageView.image = NSImage(named: "BuyNewArrowImage2")
|
|
arrow3ImageView.image = NSImage(named: "BuyNewArrowImage2")
|
|
}
|
|
}
|
|
} else if KMMemberInfo.shared.userScenarioType == .lite_type7 ||
|
|
} else if KMMemberInfo.shared.userScenarioType == .lite_type7 ||
|
|
- (KMMemberInfo.shared.userScenarioType == .lite_type9 && KMMemberInfo.shared.vip_paymentModel == "2" && isNoOldSubscribed) || (KMMemberInfo.shared.userScenarioType == .lite_type11 && KMMemberInfo.shared.vip_paymentModel == "2" && isNoOldSubscribed) {
|
|
|
|
|
|
+ (KMMemberInfo.shared.userScenarioType == .lite_type9 && !(KMMemberInfo.shared.vip_status == 1 || KMMemberInfo.shared.vip_status == 4) && isNoOldSubscribed) || (KMMemberInfo.shared.userScenarioType == .lite_type11 && KMMemberInfo.shared.vip_paymentModel == "2" && isNoOldSubscribed) {
|
|
membershipLabel.textColor = NSColor(hex: "0E1114")
|
|
membershipLabel.textColor = NSColor(hex: "0E1114")
|
|
lockedLabel.textColor = NSColor(hex: "42464D")
|
|
lockedLabel.textColor = NSColor(hex: "42464D")
|
|
|
|
|