From 4fd00993023545c2c1a70a8843d5d9e687017cae Mon Sep 17 00:00:00 2001 From: sim Date: Sun, 26 Feb 2023 16:37:46 +0100 Subject: [PATCH] Linkify WEB_URLS only --- .../distributor/nextpush/account/SSOAccountFactory.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/org/unifiedpush/distributor/nextpush/account/SSOAccountFactory.kt b/app/src/main/java/org/unifiedpush/distributor/nextpush/account/SSOAccountFactory.kt index de2d149..27e2938 100644 --- a/app/src/main/java/org/unifiedpush/distributor/nextpush/account/SSOAccountFactory.kt +++ b/app/src/main/java/org/unifiedpush/distributor/nextpush/account/SSOAccountFactory.kt @@ -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)