diff --git a/components/HeaderMenuButton.tsx b/components/HeaderMenuButton.tsx index 84c4fe97b..6e3d8d1a4 100644 --- a/components/HeaderMenuButton.tsx +++ b/components/HeaderMenuButton.tsx @@ -9,9 +9,10 @@ interface HeaderMenuButtonProps { onPressMenuItem: (id: string) => void; actions?: Action[] | Action[][]; disabled?: boolean; + title?: string; } -const HeaderMenuButton: React.FC = ({ onPressMenuItem, actions, disabled }) => { +const HeaderMenuButton: React.FC = ({ onPressMenuItem, actions, disabled, title }) => { const { colors } = useTheme(); const styleProps = Platform.OS === 'android' ? { iconStyle: { transform: [{ rotate: '90deg' }] } } : {}; @@ -38,6 +39,7 @@ const HeaderMenuButton: React.FC = ({ onPressMenuItem, ac isMenuPrimaryAction onPressMenuItem={onPressMenuItem} actions={menuActions} + title={title} > diff --git a/loc/en.json b/loc/en.json index 37bde4290..e82dcd61a 100644 --- a/loc/en.json +++ b/loc/en.json @@ -597,10 +597,11 @@ "tip": "This feature allows you to see, label, freeze or select coins for improved wallet management. You can select multiple coins by tapping on the colored circles.", "sort_asc": "Ascending", "sort_desc": "Descending", - "sort_height": "by Height", - "sort_value": "by Value", - "sort_label": "by Label", - "sort_status": "by Status" + "sort_height": "Height", + "sort_value": "Value", + "sort_label": "Label", + "sort_status": "Status", + "sort_by": "Sort by" }, "units": { "BTC": "BTC", diff --git a/screen/send/CoinControl.tsx b/screen/send/CoinControl.tsx index a49a403bc..3b015a9d1 100644 --- a/screen/send/CoinControl.tsx +++ b/screen/send/CoinControl.tsx @@ -485,7 +485,7 @@ const CoinControl: React.FC = () => { }, []); const HeaderRight = useMemo( - () => , + () => , [toolTipOnPressMenuItem, toolTipActions], );