Fixing the order of url text and link

pull/90/head
Vitor Pamplona 2023-02-06 08:32:35 -05:00
rodzic 8ce96257d2
commit de3431e374
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -126,7 +126,7 @@ fun RichTextViewer(content: String, canPreview: Boolean, tags: List<List<String>
} 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)) {