fix: Reply to sticker adds message advising user to upgrade

Closes #7724
This commit is contained in:
Lukáš Tinkl 2022-10-03 19:40:24 +02:00 committed by Iuri Matias
parent 4ece8966ae
commit 2f5bcb4d0a
1 changed files with 2 additions and 2 deletions

View File

@ -88,7 +88,7 @@ Item {
textField.color: Theme.palette.baseColor1 textField.color: Theme.palette.baseColor1
textField.height: 18 textField.height: 18
clip: true clip: true
visible: !!replyDetails.messageText visible: !!replyDetails.messageText && replyDetails.contentType !== StatusMessage.ContentType.Sticker
allowShowMore: false allowShowMore: false
} }
StatusImageMessage { StatusImageMessage {
@ -96,7 +96,7 @@ Item {
Layout.preferredHeight: imageAlias.paintedHeight Layout.preferredHeight: imageAlias.paintedHeight
imageWidth: 56 imageWidth: 56
source: replyDetails.contentType === StatusMessage.ContentType.Image ? replyDetails.messageContent : "" source: replyDetails.contentType === StatusMessage.ContentType.Image ? replyDetails.messageContent : ""
// visible: replyDetails.contentType === StatusMessage.ContentType.Image visible: source
shapeType: StatusImageMessage.ShapeType.ROUNDED shapeType: StatusImageMessage.ShapeType.ROUNDED
} }
Item { Item {