From 9005e620c64429eb9bd7f2515ee810d68c7a9a3a Mon Sep 17 00:00:00 2001 From: adbenitez Date: Fri, 13 Oct 2023 20:34:10 +0200 Subject: [PATCH] move reaction pills together with swiped message bubble --- src/org/thoughtcrime/securesms/ConversationItem.java | 2 +- .../securesms/ConversationSwipeAnimationHelper.java | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/org/thoughtcrime/securesms/ConversationItem.java b/src/org/thoughtcrime/securesms/ConversationItem.java index 36fac8431..b600406ce 100644 --- a/src/org/thoughtcrime/securesms/ConversationItem.java +++ b/src/org/thoughtcrime/securesms/ConversationItem.java @@ -97,10 +97,10 @@ public class ConversationItem extends BaseConversationItem private GlideRequests glideRequests; protected ViewGroup bodyBubble; + protected ReactionsConversationView reactionsView; protected View replyView; @Nullable private QuoteView quoteView; private ConversationItemFooter footer; - private ReactionsConversationView reactionsView; private TextView groupSender; private View groupSenderHolder; private AvatarImageView contactPhoto; diff --git a/src/org/thoughtcrime/securesms/ConversationSwipeAnimationHelper.java b/src/org/thoughtcrime/securesms/ConversationSwipeAnimationHelper.java index a5380388d..2e69f4ba2 100644 --- a/src/org/thoughtcrime/securesms/ConversationSwipeAnimationHelper.java +++ b/src/org/thoughtcrime/securesms/ConversationSwipeAnimationHelper.java @@ -33,6 +33,7 @@ final class ConversationSwipeAnimationHelper { float progress = dx / TRIGGER_DX; updateBodyBubbleTransition(conversationItem.bodyBubble, dx, sign); + updateReactionsTransition(conversationItem.reactionsView, dx, sign); updateReplyIconTransition(conversationItem.replyView, dx, progress, sign); updateContactPhotoHolderTransition(conversationItem.contactPhotoHolder, progress, sign); }