|
@@ -441,6 +441,12 @@ class KMProductModel: ObservableObject {
|
|
} else {
|
|
} else {
|
|
return String(format: "CNY ¥%@", getDMGCNYPrice(productCode: KMAdvancedAnnualSubscriptionBlackFiveCodeKey_DMG))
|
|
return String(format: "CNY ¥%@", getDMGCNYPrice(productCode: KMAdvancedAnnualSubscriptionBlackFiveCodeKey_DMG))
|
|
}
|
|
}
|
|
|
|
+ } else if KMMemberInfo.shared.canTrail {
|
|
|
|
+ if NSLocalizedString("USD", tableName: "MemberCenterLocalizable", comment: "") == "USD" {
|
|
|
|
+ return String(format: "USD $%@", getDMGPrice(productCode: KMAdvancedAnnualSubscriptionTrailCodeKey_DMG))
|
|
|
|
+ } else {
|
|
|
|
+ return String(format: "CNY ¥%@", getDMGCNYPrice(productCode: KMAdvancedAnnualSubscriptionTrailCodeKey_DMG))
|
|
|
|
+ }
|
|
} else {
|
|
} else {
|
|
if NSLocalizedString("USD", tableName: "MemberCenterLocalizable", comment: "") == "USD" {
|
|
if NSLocalizedString("USD", tableName: "MemberCenterLocalizable", comment: "") == "USD" {
|
|
return String(format: "USD $%@", getDMGPrice(productCode: KMAdvancedAnnualSubscriptionCodeKey_DMG))
|
|
return String(format: "USD $%@", getDMGPrice(productCode: KMAdvancedAnnualSubscriptionCodeKey_DMG))
|
|
@@ -588,6 +594,8 @@ class KMProductModel: ObservableObject {
|
|
} else {
|
|
} else {
|
|
if isBlackFive {
|
|
if isBlackFive {
|
|
code = KMAdvancedAnnualSubscriptionBlackFiveCodeKey_DMG
|
|
code = KMAdvancedAnnualSubscriptionBlackFiveCodeKey_DMG
|
|
|
|
+ } else if KMMemberInfo.shared.canTrail {
|
|
|
|
+ code = KMAdvancedAnnualSubscriptionTrailCodeKey_DMG
|
|
} else {
|
|
} else {
|
|
code = KMAdvancedAnnualSubscriptionCodeKey_DMG
|
|
code = KMAdvancedAnnualSubscriptionCodeKey_DMG
|
|
}
|
|
}
|