Fix rendering of subscription error string.

This commit is contained in:
Greyson Parrelli
2021-11-22 14:54:47 -05:00
parent f5ab4bec7a
commit 125840e5fc

View File

@@ -124,9 +124,11 @@ object ActiveSubscriptionPreference {
}
private fun presentRedemptionFailureState(model: Model) {
val contactString = context.getString(R.string.MySupportPreference__please_contact_support)
expiry.text = SpanUtil.clickSubstring(
context.getString(R.string.MySupportPreference__couldnt_add_badge_s),
context.getString(R.string.MySupportPreference__please_contact_support),
context.getString(R.string.MySupportPreference__couldnt_add_badge_s, contactString),
contactString,
{
model.onContactSupport()
},