mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-03-26 08:55:56 +01:00
Update TooltipMenu.android.js
This commit is contained in:
parent
880bd7766e
commit
3a61a4d141
1 changed files with 5 additions and 1 deletions
|
@ -19,7 +19,11 @@ const ToolTipMenu = props => {
|
|||
|
||||
const child = (Array.isArray(props.children) ? props.children[0] : props.children) || null;
|
||||
|
||||
return <Pressable ref={ref}>{child && cloneElement(child, { onLongPress: showMenu })}</Pressable>;
|
||||
return (
|
||||
<Pressable ref={ref} onLongPress={showMenu}>
|
||||
{child && cloneElement(child, { onLongPress: showMenu })}
|
||||
</Pressable>
|
||||
);
|
||||
};
|
||||
|
||||
export default ToolTipMenu;
|
||||
|
|
Loading…
Add table
Reference in a new issue