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