From b99ef78dea6c43d430e3aad4c9f3f8cff0a06844 Mon Sep 17 00:00:00 2001
From: Sebastian <sebasjm@gmail.com>
Date: Fri, 15 Dec 2023 00:45:01 -0300
Subject: testing header listener

---
 .../taler-wallet-webextension/src/wallet/DeveloperPage.tsx | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

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

diff --git a/packages/taler-wallet-webextension/src/wallet/DeveloperPage.tsx b/packages/taler-wallet-webextension/src/wallet/DeveloperPage.tsx
index 7c0f1938d..0a01b8a95 100644
--- a/packages/taler-wallet-webextension/src/wallet/DeveloperPage.tsx
+++ b/packages/taler-wallet-webextension/src/wallet/DeveloperPage.tsx
@@ -257,6 +257,20 @@ export function View({
             <i18n.Translate>export database</i18n.Translate>
           </Button>
         </Grid>
+        <Grid item>
+          <Button variant="contained" onClick={async () => {
+            api.background.call("toggleHeaderListener", true)
+          }}>
+            <i18n.Translate>enable header listener</i18n.Translate>
+          </Button>
+        </Grid>
+        <Grid item>
+          <Button variant="contained" onClick={async () => {
+            api.background.call("toggleHeaderListener", false)
+          }}>
+            <i18n.Translate>disable header listener</i18n.Translate>
+          </Button>
+        </Grid>
         <Grid item>
           <Button
             variant="contained"
-- 
cgit v1.2.3

