From 6109b17acb9d9b9b6e85d9db4971c73486ef70d4 Mon Sep 17 00:00:00 2001 From: Kacper Michalik Date: Fri, 20 Oct 2023 10:42:19 +0200 Subject: [PATCH] fix: use numberOfLines --- .../mobile/src/components/ContextMenu/ContextMenu.component.tsx | 1 + .../ContextMenu/menus/InvitationContextMenu.container.tsx | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/mobile/src/components/ContextMenu/ContextMenu.component.tsx b/packages/mobile/src/components/ContextMenu/ContextMenu.component.tsx index a62feec289..719c8a832b 100644 --- a/packages/mobile/src/components/ContextMenu/ContextMenu.component.tsx +++ b/packages/mobile/src/components/ContextMenu/ContextMenu.component.tsx @@ -133,6 +133,7 @@ export const ContextMenu: FC = ({ diff --git a/packages/mobile/src/components/ContextMenu/menus/InvitationContextMenu.container.tsx b/packages/mobile/src/components/ContextMenu/menus/InvitationContextMenu.container.tsx index 95fd7a633b..c092fbc895 100644 --- a/packages/mobile/src/components/ContextMenu/menus/InvitationContextMenu.container.tsx +++ b/packages/mobile/src/components/ContextMenu/menus/InvitationContextMenu.container.tsx @@ -82,7 +82,7 @@ export const InvitationContextMenu: FC = () => { title={'Add members'} items={items} hint={'Anyone with Quiet app can follow this link to join this community. Only share with people you trust.'} - link={invitationLink.slice(0, 35) + '...'} + link={invitationLink} linkAction={copyLink} {...invitationContextMenu} />