mirror of
https://github.com/status-im/status-desktop.git
synced 2025-02-12 14:47:16 +00:00
fix(MessageView): Show message when there is one img preview and extra text
This commit is contained in:
parent
3bb667bb7a
commit
ed9e782262
@ -693,7 +693,8 @@ Loader {
|
||||
onLinksLoaded: {
|
||||
// If there is only one image and no links, hide the message
|
||||
// Handled in linksLoaded signal to evaulate it only once
|
||||
d.hideMessage = linksMessageView.unfurledImagesCount === 1 && linksMessageView.unfurledLinksCount === 0
|
||||
d.hideMessage = linksMessageView.unfurledImagesCount === 1 && linksMessageView.unfurledLinksCount === 0
|
||||
&& `<p>${root.linkUrls}</p>` === root.messageText
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user