adds content description to 'browse privately' card, replacing placeholder %s with the header_text of card
pull/600/head
Mihai Adrian 5 years ago committed by Colin Lee
parent adf0089d60
commit e8df291be2

@ -41,6 +41,7 @@ class OnboardingPrivateBrowsingViewHolder(view: View) : RecyclerView.ViewHolder(
}
view.description_text.text = text
view.contentDescription = String.format(text.toString(), view.header_text.text)
}
class PrivateBrowsingImageSpan(

Loading…
Cancel
Save