diff options
Diffstat (limited to 'packages/taler-wallet-webextension/src/wallet/DeveloperPage.tsx')
-rw-r--r-- | packages/taler-wallet-webextension/src/wallet/DeveloperPage.tsx | 14 |
1 files changed, 14 insertions, 0 deletions
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 @@ -258,6 +258,20 @@ export function View({ </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" onClick={async () => { |