Fix rendering of subscription error string.

fork-5.53.8
Greyson Parrelli 2021-11-22 14:54:47 -05:00
rodzic f5ab4bec7a
commit 125840e5fc
1 zmienionych plików z 4 dodań i 2 usunięć

Wyświetl plik

@ -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()
},