From d483a3f5574355ed9c43eb6ddea59e5734323cf0 Mon Sep 17 00:00:00 2001
From: Sebastian <sebasjm@gmail.com>
Date: Wed, 19 Apr 2023 12:42:47 -0300
Subject: fix #7704

---
 .../src/wallet/DestinationSelection/views.tsx                       | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

(limited to 'packages/taler-wallet-webextension/src/wallet/DestinationSelection/views.tsx')

diff --git a/packages/taler-wallet-webextension/src/wallet/DestinationSelection/views.tsx b/packages/taler-wallet-webextension/src/wallet/DestinationSelection/views.tsx
index 7f239f33d..8416e17e9 100644
--- a/packages/taler-wallet-webextension/src/wallet/DestinationSelection/views.tsx
+++ b/packages/taler-wallet-webextension/src/wallet/DestinationSelection/views.tsx
@@ -17,7 +17,7 @@
 import { styled } from "@linaria/react";
 import { Fragment, h, VNode } from "preact";
 import { AmountField } from "../../components/AmountField.js";
-import { JustInDevMode } from "../../components/JustInDevMode.js";
+import { EnabledBySettings } from "../../components/EnabledBySettings.js";
 import { SelectList } from "../../components/SelectList.js";
 import {
   Input,
@@ -300,11 +300,11 @@ export function ReadySendView({
           required
           handler={amountHandler}
         />
-        <JustInDevMode>
+        <EnabledBySettings name="advanceMode">
           <Button onClick={sendAll.onClick}>
             <i18n.Translate>Send all</i18n.Translate>
           </Button>
-        </JustInDevMode>
+        </EnabledBySettings>
       </Grid>
 
       <Grid container spacing={1} columns={1}>
-- 
cgit v1.2.3

