diff options
Diffstat (limited to 'packages/taler-wallet-webextension/src/wallet/Application.tsx')
-rw-r--r-- | packages/taler-wallet-webextension/src/wallet/Application.tsx | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/packages/taler-wallet-webextension/src/wallet/Application.tsx b/packages/taler-wallet-webextension/src/wallet/Application.tsx index 194e34e6d..aef271442 100644 --- a/packages/taler-wallet-webextension/src/wallet/Application.tsx +++ b/packages/taler-wallet-webextension/src/wallet/Application.tsx @@ -20,7 +20,11 @@ * @author sebasjm */ -import { TalerUri, TranslatedString } from "@gnu-taler/taler-util"; +import { + TalerUri, + TranslatedString, + stringifyTalerUri, +} from "@gnu-taler/taler-util"; import { TranslationProvider, useTranslationContext, @@ -103,7 +107,11 @@ export function Application(): VNode { <WalletTemplate goToTransaction={redirectToTxInfo}> <QrReaderPage onDetected={(talerActionUrl: TalerUri) => { - platform.openWalletURIFromPopup(talerActionUrl); + redirectTo( + Pages.defaultCta({ + uri: stringifyTalerUri(talerActionUrl), + }), + ); }} /> </WalletTemplate> |