Feature : allow opening file for outgoing message.

- Remove constraints if the message is outgoing : the file is already accessible, there is no need to ensure its presence.
This commit is contained in:
Julien Wadel 2020-12-05 20:05:05 +01:00
parent c4f9aaff79
commit 122d532bc3

View file

@ -253,7 +253,7 @@ Row {
}
anchors.fill: parent
visible: (rectangle.isUploaded || rectangle.isRead) && !$chatEntry.isOutgoing
visible: ((rectangle.isUploaded || rectangle.isRead) && !$chatEntry.isOutgoing) || $chatEntry.isOutgoing
onClicked: {
if (Utils.pointIsInItem(this, thumbnailProvider, mouse)) {