For #25808: Link only URLs in library descriptions.

Linkify.ALL is deprecated.
This commit is contained in:
mcarare 2022-07-04 18:16:02 +03:00 committed by mergify[bot]
parent 8c0c9af65b
commit e057bb4514
1 changed files with 1 additions and 1 deletions

View File

@ -101,7 +101,7 @@ class AboutLibrariesFragment : Fragment(R.layout.fragment_about_libraries) {
dialog.show()
val textView = dialog.findViewById<TextView>(android.R.id.message)!!
Linkify.addLinks(textView, Linkify.ALL)
Linkify.addLinks(textView, Linkify.WEB_URLS)
textView.linksClickable = true
textView.textSize = LICENSE_TEXT_SIZE
textView.typeface = Typeface.MONOSPACE