mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-09-27 22:56:24 +02:00
Changes to not preview images when CanPreview is false.
This commit is contained in:
@@ -296,8 +296,8 @@ private fun RenderWordWithoutPreview(
|
||||
|
||||
when (type) {
|
||||
// Don't preview Images
|
||||
WordType.IMAGE -> UrlPreview(word, wordSpace)
|
||||
WordType.LINK -> UrlPreview(word, wordSpace)
|
||||
WordType.IMAGE -> ClickableUrl(wordSpace, word)
|
||||
WordType.LINK -> ClickableUrl(wordSpace, word)
|
||||
WordType.EMOJI -> RenderCustomEmoji(word, state)
|
||||
// Don't offer to pay invoices
|
||||
WordType.INVOICE -> NormalWord(wordSpace)
|
||||
|
Reference in New Issue
Block a user