2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-03 23:15:31 +00:00
adds content description to 'browse privately' card, replacing placeholder %s with the header_text of card
This commit is contained in:
Mihai Adrian 2019-07-19 22:23:10 +03:00 committed by Colin Lee
parent df1410850b
commit c74cb61455

View File

@ -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(