Fix rendering of subscription error string.

This commit is contained in:
Greyson Parrelli committed 2021-11-22 22:44:10 -05:00
1 parent f5ab4bec7a
commit 125840e5fc
1 file changed
+4 -2
@@ -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()
},