Fix for incorrect annual price.

This commit is contained in:
dkadrikj 2021-11-04 19:34:07 +01:00
parent 5e739c94c8
commit 25a86693f1
2 changed files with 2 additions and 2 deletions

View File

@ -194,7 +194,7 @@ class PlanItemView @JvmOverloads constructor(
planCycleText.visibility = VISIBLE
planPriceDescriptionText.text = String.format(
context.getString(R.string.plans_billed_yearly),
billableAmount.formatCentsPriceDefaultLocale(currency.name, fractionDigits = 2)
(monthlyPrice * MONTHS_IN_YEAR).formatCentsPriceDefaultLocale(currency.name, fractionDigits = 2)
)
} else {
when (cycle) {

View File

@ -37,7 +37,7 @@
<string name="plans_upgrade_plan">Upgrade plan</string>
<string name="plans_subscription">Subscription</string>
<string name="plans_renewal_date">Your plan will automatically renew on</string>
<string name="plans_billed_yearly">*Billed as %s per year</string>
<string name="plans_billed_yearly">*Billed annually at %s</string>
<string name="plans_billed_anually">Billed annually</string>
<string name="plans_billed_monthly">Billed monthly</string>
<string name="plans_billed_every_2years">Billed every 2 years</string>