adds content description to 'browse privately' card, replacing placeholder %s with the header_text of cardmaster
parent
df1410850b
commit
c74cb61455
|
@ -41,6 +41,7 @@ class OnboardingPrivateBrowsingViewHolder(view: View) : RecyclerView.ViewHolder(
|
||||||
}
|
}
|
||||||
|
|
||||||
view.description_text.text = text
|
view.description_text.text = text
|
||||||
|
view.contentDescription = String.format(text.toString(), view.header_text.text)
|
||||||
}
|
}
|
||||||
|
|
||||||
class PrivateBrowsingImageSpan(
|
class PrivateBrowsingImageSpan(
|
||||||
|
|
Loading…
Reference in New Issue