Add backup specific strings for token redemption error.

This commit is contained in:
Alex Hart
2024-11-14 10:54:44 -04:00
committed by Greyson Parrelli
parent c6368a3166
commit 02ecc19112
2 changed files with 13 additions and 2 deletions

View File

@@ -98,9 +98,16 @@ class DonationErrorParams<V> private constructor(
negativeAction = null
)
InAppPaymentType.RECURRING_BACKUP -> DonationErrorParams(
title = R.string.DonationsError__something_went_wrong,
message = R.string.DonationsError__your_backups_subscription_couldnt_be_displayed,
positiveAction = callback.onContactSupport(context),
negativeAction = null
)
else -> DonationErrorParams(
title = R.string.DonationsErrors__couldnt_add_badge, // TODO [backups] -- This will need a backups-specific string
message = R.string.DonationsErrors__your_badge_could_not, // TODO [backups] -- This will need a backups-specific string
title = R.string.DonationsErrors__couldnt_add_badge,
message = R.string.DonationsErrors__your_badge_could_not,
positiveAction = callback.onContactSupport(context),
negativeAction = null
)