mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-03-15 11:59:21 +01:00
Update SendDetails.tsx
This commit is contained in:
parent
4c50f30062
commit
af6f427c24
1 changed files with 0 additions and 10 deletions
|
@ -600,7 +600,6 @@ const SendDetails = () => {
|
||||||
|
|
||||||
if (tx && routeParams.launchedBy && psbt) {
|
if (tx && routeParams.launchedBy && psbt) {
|
||||||
console.warn('navigating back to ', routeParams.launchedBy);
|
console.warn('navigating back to ', routeParams.launchedBy);
|
||||||
feeModalRef.current?.dismiss();
|
|
||||||
|
|
||||||
// @ts-ignore idk how to fix FIXME?
|
// @ts-ignore idk how to fix FIXME?
|
||||||
|
|
||||||
|
@ -608,8 +607,6 @@ const SendDetails = () => {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (wallet?.type === WatchOnlyWallet.type) {
|
if (wallet?.type === WatchOnlyWallet.type) {
|
||||||
feeModalRef.current?.dismiss();
|
|
||||||
|
|
||||||
// watch-only wallets with enabled HW wallet support have different flow. we have to show PSBT to user as QR code
|
// watch-only wallets with enabled HW wallet support have different flow. we have to show PSBT to user as QR code
|
||||||
// so he can scan it and sign it. then we have to scan it back from user (via camera and QR code), and ask
|
// so he can scan it and sign it. then we have to scan it back from user (via camera and QR code), and ask
|
||||||
// user whether he wants to broadcast it
|
// user whether he wants to broadcast it
|
||||||
|
@ -624,8 +621,6 @@ const SendDetails = () => {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (wallet?.type === MultisigHDWallet.type) {
|
if (wallet?.type === MultisigHDWallet.type) {
|
||||||
feeModalRef.current?.dismiss();
|
|
||||||
|
|
||||||
navigation.navigate('PsbtMultisig', {
|
navigation.navigate('PsbtMultisig', {
|
||||||
memo: transactionMemo,
|
memo: transactionMemo,
|
||||||
psbtBase64: psbt.toBase64(),
|
psbtBase64: psbt.toBase64(),
|
||||||
|
@ -650,7 +645,6 @@ const SendDetails = () => {
|
||||||
// (ez can be the case for single-address wallet when doing self-payment for consolidation)
|
// (ez can be the case for single-address wallet when doing self-payment for consolidation)
|
||||||
recipients = outputs;
|
recipients = outputs;
|
||||||
}
|
}
|
||||||
feeModalRef.current?.dismiss();
|
|
||||||
|
|
||||||
navigation.navigate('Confirm', {
|
navigation.navigate('Confirm', {
|
||||||
fee: new BigNumber(fee).dividedBy(100000000).toNumber(),
|
fee: new BigNumber(fee).dividedBy(100000000).toNumber(),
|
||||||
|
@ -698,8 +692,6 @@ const SendDetails = () => {
|
||||||
// this looks like NOT base64, so maybe its transaction's hex
|
// this looks like NOT base64, so maybe its transaction's hex
|
||||||
// we dont support it in this flow
|
// we dont support it in this flow
|
||||||
} else {
|
} else {
|
||||||
feeModalRef.current?.dismiss();
|
|
||||||
|
|
||||||
// psbt base64?
|
// psbt base64?
|
||||||
|
|
||||||
// we construct PSBT object and pass to next screen
|
// we construct PSBT object and pass to next screen
|
||||||
|
@ -1157,8 +1149,6 @@ const SendDetails = () => {
|
||||||
accessibilityRole="button"
|
accessibilityRole="button"
|
||||||
style={styles.selectTouch}
|
style={styles.selectTouch}
|
||||||
onPress={() => {
|
onPress={() => {
|
||||||
feeModalRef.current?.dismiss();
|
|
||||||
|
|
||||||
navigation.navigate('SelectWallet', { chainType: Chain.ONCHAIN });
|
navigation.navigate('SelectWallet', { chainType: Chain.ONCHAIN });
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
|
|
Loading…
Add table
Reference in a new issue