From e478ff03c3f06b115dbcfb2f06039df2afda9988 Mon Sep 17 00:00:00 2001 From: Piotr Suwala Date: Thu, 14 Dec 2023 09:31:16 +0100 Subject: [PATCH] feat(lib): change a sample --- .../components/actions-menu/ActionsMenu.tsx | 104 +++++++++--------- 1 file changed, 54 insertions(+), 50 deletions(-) diff --git a/samples/react-native-group-chat/components/actions-menu/ActionsMenu.tsx b/samples/react-native-group-chat/components/actions-menu/ActionsMenu.tsx index 9e06dc8..6f20b91 100644 --- a/samples/react-native-group-chat/components/actions-menu/ActionsMenu.tsx +++ b/samples/react-native-group-chat/components/actions-menu/ActionsMenu.tsx @@ -95,70 +95,74 @@ export function useActionsMenu({ Actions - - - {!removeThreadReply && !currentlyFocusedMessage?.originalPnMessage.deleted ? ( + {!currentlyFocusedMessage?.originalPnMessage.deleted ? ( <> + + {!removeThreadReply ? ( + <> + + + + ) : null} + + + ) : null} - - - - {currentlyFocusedMessage?.originalPnMessage.userId === chat?.currentUser.id ? (