Skip to content
This repository has been archived by the owner on Jun 17, 2024. It is now read-only.

Commit

Permalink
[fenix] For mozilla-mobile/fenix#25808: Link only URLs in library des…
Browse files Browse the repository at this point in the history
…criptions.

Linkify.ALL is deprecated.
  • Loading branch information
mcarare authored and mergify[bot] committed Nov 16, 2022
1 parent c647160 commit ba76b3a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ba76b3a

Please sign in to comment.