Update SendDetails.tsx

This commit is contained in:
Marcos Rodriguez Velez 2024-07-06 19:49:39 -04:00
parent 5043ba3d7a
commit 2e9316050e
No known key found for this signature in database
GPG key ID: 6030B2F48CCE86D7

View file

@ -963,10 +963,6 @@ const SendDetails = () => {
});
};
const hideOptions = () => {
Keyboard.dismiss();
};
// Header Right Button
const headerRightOnPress = (id: string) => {
@ -1322,7 +1318,7 @@ const SendDetails = () => {
const isSendMaxUsed = addresses.some(element => element.amount === BitcoinUnit.MAX);
return (
<BottomModal ref={optionsModalRef} onClose={hideOptions} backgroundColor={colors.modal} contentContainerStyle={styles.optionsContent}>
<BottomModal ref={optionsModalRef} backgroundColor={colors.modal} contentContainerStyle={styles.optionsContent}>
{wallet?.allowBIP47() && wallet.isBIP47Enabled() && (
<ListItem testID="InsertContactButton" title={loc.send.details_insert_contact} onPress={handleInsertContact} />
)}