From bcdd59a1422bfdb0e7cd28dad39f42687ca43e15 Mon Sep 17 00:00:00 2001 From: Sebastian Date: Tue, 15 Mar 2022 11:39:42 -0300 Subject: switch exchange -> edit exchange, no balance text --- .../taler-wallet-webextension/src/cta/Withdraw.tsx | 20 +++++++++++--------- .../src/popup/NoBalanceHelp.tsx | 8 ++------ 2 files changed, 13 insertions(+), 15 deletions(-) (limited to 'packages/taler-wallet-webextension') diff --git a/packages/taler-wallet-webextension/src/cta/Withdraw.tsx b/packages/taler-wallet-webextension/src/cta/Withdraw.tsx index f19da3960..66c83cf15 100644 --- a/packages/taler-wallet-webextension/src/cta/Withdraw.tsx +++ b/packages/taler-wallet-webextension/src/cta/Withdraw.tsx @@ -162,10 +162,8 @@ export function View({ big /> )} - - {!reviewing && ( -
- {switchingExchange ? ( + {!reviewing && + (switchingExchange ? (
{ if (nextExchange !== undefined) { onSwitchExchange(nextExchange); @@ -193,12 +192,15 @@ export function View({ ) : ( - setSwitchingExchange(true)}> - Switch exchange + setSwitchingExchange(true)} + > + Edit exchange - )} -
- )} + ))} +

- You have no balance to show. + You have no balance. -
- - To withdraw money you can start from your bank site or click the - "withdraw" button to use a known exchange. - + Withdraw some funds into your wallet.

goToWalletManualWithdraw()}> Withdraw -- cgit v1.2.3