From bcdd59a1422bfdb0e7cd28dad39f42687ca43e15 Mon Sep 17 00:00:00 2001
From: Sebastian <sebasjm@gmail.com>
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 +++++++++++---------
 1 file changed, 11 insertions(+), 9 deletions(-)

(limited to 'packages/taler-wallet-webextension/src/cta/Withdraw.tsx')

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}
-- 
cgit v1.2.3

