mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-03-03 20:07:11 +01:00
Update TooltipMenu.ios.tsx
This commit is contained in:
parent
d79e74d96c
commit
5b1122ea68
1 changed files with 8 additions and 4 deletions
|
@ -96,9 +96,13 @@ const BaseToolTipMenu = (props: ToolTipMenuProps, ref: Ref<any>) => {
|
|||
}
|
||||
: {})}
|
||||
>
|
||||
<TouchableOpacity accessibilityRole="button" onPress={onPress}>
|
||||
{props.children}
|
||||
</TouchableOpacity>
|
||||
{onPress ? (
|
||||
<TouchableOpacity accessibilityRole="button" onPress={onPress}>
|
||||
{props.children}
|
||||
</TouchableOpacity>
|
||||
) : (
|
||||
props.children
|
||||
)}
|
||||
</ContextMenuView>
|
||||
);
|
||||
|
||||
|
@ -109,7 +113,7 @@ const BaseToolTipMenu = (props: ToolTipMenuProps, ref: Ref<any>) => {
|
|||
) : props.onPress ? (
|
||||
renderContextMenuView()
|
||||
) : (
|
||||
renderContextMenuButton()
|
||||
renderContextMenuView()
|
||||
);
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue