Skip to content

Commit

Permalink
fix: use numberOfLines
Browse files Browse the repository at this point in the history
  • Loading branch information
Kacper-RF committed Oct 20, 2023
1 parent 69e6f8a commit 6109b17
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ export const ContextMenu: FC<ContextMenuProps> = ({
<Typography
fontSize={14}
fontWeight={'normal'}
numberOfLines={1}
style={{ lineHeight: 20, color: defaultPalette.typography.gray50 }}
onPress={linkAction}
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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}
/>
Expand Down

0 comments on commit 6109b17

Please sign in to comment.