Linkify WEB_URLS only

This commit is contained in:
sim 2023-02-26 16:37:46 +01:00
parent ae555033d2
commit 4fd0099302

View File

@ -123,7 +123,7 @@ class SSOAccountFactory : AccountFactory {
": " + context.getString(R.string.uri_fdroid_nextcloud_app)
}
val s = SpannableString(messageContent)
Linkify.addLinks(s, Linkify.ALL)
Linkify.addLinks(s, Linkify.WEB_URLS)
message.text = s
message.movementMethod = LinkMovementMethod.getInstance()
message.setPadding(32, 32, 32, 32)