aboutsummaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorSebastian <sebasjm@gmail.com>2022-03-15 11:39:42 -0300
committerSebastian <sebasjm@gmail.com>2022-03-15 11:39:47 -0300
commitbcdd59a1422bfdb0e7cd28dad39f42687ca43e15 (patch)
tree340f738f6fe7ef6c9cbcdf3186c66de37ab0f614 /packages
parentbc596e11b91521450c040ee2aacae9a16adfac0e (diff)
switch exchange -> edit exchange, no balance text
Diffstat (limited to 'packages')
-rw-r--r--packages/taler-wallet-webextension/src/cta/Withdraw.tsx20
-rw-r--r--packages/taler-wallet-webextension/src/popup/NoBalanceHelp.tsx8
2 files changed, 13 insertions, 15 deletions
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
/>
)}
- </section>
- {!reviewing && (
- <section>
- {switchingExchange ? (
+ {!reviewing &&
+ (switchingExchange ? (
<Fragment>
<div>
<SelectList
@@ -178,6 +176,7 @@ export function View({
</div>
<LinkSuccess
upperCased
+ style={{ fontSize: "small" }}
onClick={() => {
if (nextExchange !== undefined) {
onSwitchExchange(nextExchange);
@@ -193,12 +192,15 @@ export function View({
</LinkSuccess>
</Fragment>
) : (
- <LinkSuccess upperCased onClick={() => setSwitchingExchange(true)}>
- <i18n.Translate>Switch exchange</i18n.Translate>
+ <LinkSuccess
+ style={{ fontSize: "small" }}
+ upperCased
+ onClick={() => setSwitchingExchange(true)}
+ >
+ <i18n.Translate>Edit exchange</i18n.Translate>
</LinkSuccess>
- )}
- </section>
- )}
+ ))}
+ </section>
<TermsOfServiceSection
reviewed={reviewed}
reviewing={reviewing}
diff --git a/packages/taler-wallet-webextension/src/popup/NoBalanceHelp.tsx b/packages/taler-wallet-webextension/src/popup/NoBalanceHelp.tsx
index dfb99ac6a..e191b15f1 100644
--- a/packages/taler-wallet-webextension/src/popup/NoBalanceHelp.tsx
+++ b/packages/taler-wallet-webextension/src/popup/NoBalanceHelp.tsx
@@ -12,13 +12,9 @@ export function NoBalanceHelp({
<WarningBox>
<p>
<b>
- <i18n.Translate>You have no balance to show.</i18n.Translate>
+ <i18n.Translate>You have no balance.</i18n.Translate>
</b>
- <br />
- <i18n.Translate>
- To withdraw money you can start from your bank site or click the
- "withdraw" button to use a known exchange.
- </i18n.Translate>
+ <i18n.Translate>Withdraw some funds into your wallet.</i18n.Translate>
</p>
<ButtonBoxWarning onClick={() => goToWalletManualWithdraw()}>
<i18n.Translate>Withdraw</i18n.Translate>