From ffa4d053cff854b5c269527867b4564597ef0a4b Mon Sep 17 00:00:00 2001 From: siepra Date: Thu, 19 Oct 2023 14:50:27 +0200 Subject: [PATCH] fix: appearance --- .../ContextMenu/ContextMenu.component.tsx | 2 +- ...egisteredUsernameContextMenu.container.tsx | 37 ++++++++++++------- 2 files changed, 25 insertions(+), 14 deletions(-) diff --git a/packages/mobile/src/components/ContextMenu/ContextMenu.component.tsx b/packages/mobile/src/components/ContextMenu/ContextMenu.component.tsx index 8855d708d5..f8ff1e4db3 100644 --- a/packages/mobile/src/components/ContextMenu/ContextMenu.component.tsx +++ b/packages/mobile/src/components/ContextMenu/ContextMenu.component.tsx @@ -15,7 +15,6 @@ export const ContextMenu: FC = ({ linkAction = () => { console.log('No action attached for link tap gesture.') }, - children, }) => { const [show, setShow] = React.useState(false) @@ -162,6 +161,7 @@ export const ContextMenu: FC = ({ /> )} + {children} diff --git a/packages/mobile/src/components/ContextMenu/menus/UnregisteredUsernameContextMenu.container.tsx b/packages/mobile/src/components/ContextMenu/menus/UnregisteredUsernameContextMenu.container.tsx index ef8a1d6e9a..0952c7c442 100644 --- a/packages/mobile/src/components/ContextMenu/menus/UnregisteredUsernameContextMenu.container.tsx +++ b/packages/mobile/src/components/ContextMenu/menus/UnregisteredUsernameContextMenu.container.tsx @@ -17,19 +17,30 @@ export const UnregisteredUsernameContextMenu: FC = () => { - - The username{' '} - - @{usernameTakenContextMenu.username} - {' '} - has not been registered yet with the community owner, so it’s still possible for someone else to register the - same username. When the community owner is online,{' '} - - @{usernameTakenContextMenu.username} - {' '} - will be registered automatically and this alert will go away. - -