diff --git a/app/src/main/java/com/vitorpamplona/amethyst/ui/components/RichTextViewer.kt b/app/src/main/java/com/vitorpamplona/amethyst/ui/components/RichTextViewer.kt index 533cf0dd8..10b81b0c6 100644 --- a/app/src/main/java/com/vitorpamplona/amethyst/ui/components/RichTextViewer.kt +++ b/app/src/main/java/com/vitorpamplona/amethyst/ui/components/RichTextViewer.kt @@ -126,7 +126,7 @@ fun RichTextViewer(content: String, canPreview: Boolean, tags: List } else if (Patterns.PHONE.matcher(word).matches() && word.length > 6) { ClickablePhone(word) } else if (noProtocolUrlValidator.matcher(word).matches()) { - ClickableUrl("https://$word", word) + ClickableUrl(word, "https://$word") } else if (tagIndex.matcher(word).matches() && tags != null) { TagLink(word, tags, navController) } else if (isBechLink(word)) {