kopia lustrzana https://github.com/vitorpamplona/amethyst
Fixing the order of url text and link
rodzic
8ce96257d2
commit
de3431e374
|
@ -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)) {
|
||||
|
|
Ładowanie…
Reference in New Issue