Update SendDetails.tsx

This commit is contained in:
Marcos Rodriguez Velez 2024-07-23 10:16:18 -04:00
parent 83fafa3878
commit d185621861
No known key found for this signature in database
GPG Key ID: 6030B2F48CCE86D7

View File

@ -1252,6 +1252,7 @@ const SendDetails = () => {
testID="feeCustom"
accessibilityRole="button"
onPress={async () => {
await feeModalRef.current?.dismiss();
let error = loc.send.fee_satvbyte;
while (true) {
let fee: number | string;
@ -1270,7 +1271,6 @@ const SendDetails = () => {
if (Number(fee) < 1) fee = '1';
fee = Number(fee).toString(); // this will remove leading zeros if any
setCustomFee(fee);
feeModalRef.current?.dismiss();
return;
}
}}