fix(@desktop/appearance): ensure placeholder message doesn't render context menu

Fixes #3983
This commit is contained in:
Pascal Precht 2021-11-01 15:03:07 +01:00 committed by Iuri Matias
parent ca4c1904d8
commit b6d41b67d8
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ Rectangle {
signal setMessageActive(string messageId, bool active) signal setMessageActive(string messageId, bool active)
signal clickMessage(bool isProfileClick, bool isSticker, bool isImage, var image, bool emojiOnly) signal clickMessage(bool isProfileClick, bool isSticker, bool isImage, var image, bool emojiOnly)
visible: !activityCenterMessage && visible: !placeholderMessage && !activityCenterMessage &&
(buttonsContainer.parentIsHovered || isMessageActive) (buttonsContainer.parentIsHovered || isMessageActive)
&& contentType !== Constants.transactionType && contentType !== Constants.transactionType
width: buttonRow.width + buttonsContainer.containerMargin * 2 width: buttonRow.width + buttonsContainer.containerMargin * 2