From fb2c0a42c1ef550c791d16e7aa39fc36046bb593 Mon Sep 17 00:00:00 2001 From: Slava Monich Date: Wed, 8 Dec 2021 20:48:44 +0200 Subject: [PATCH] Apply last remaining sticker option to animated emoji In all other respects their behavior is already equivalent --- qml/components/MessageListViewItem.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qml/components/MessageListViewItem.qml b/qml/components/MessageListViewItem.qml index 8755ce7..1091eb1 100644 --- a/qml/components/MessageListViewItem.qml +++ b/qml/components/MessageListViewItem.qml @@ -309,7 +309,7 @@ ListItem { color: Theme.colorScheme === Theme.LightOnDark ? (isUnread ? Theme.secondaryHighlightColor : Theme.secondaryColor) : (isUnread ? Theme.backgroundGlowColor : Theme.overlayBackgroundColor) radius: parent.width / 50 opacity: isUnread ? 0.5 : 0.2 - visible: appSettings.showStickersAsImages || myMessage.content['@type'] !== "messageSticker" + visible: appSettings.showStickersAsImages || (myMessage.content['@type'] !== "messageSticker" && myMessage.content['@type'] !== "messageAnimatedEmoji") Behavior on color { ColorAnimation { duration: 200 } } Behavior on opacity { FadeAnimation {} } }