diff options
author | Florian Dold <florian@dold.me> | 2023-08-22 16:37:27 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2023-08-22 16:37:27 +0200 |
commit | 0a05f6d9030b5a2ce201a98553fa4e6ff13eb907 (patch) | |
tree | 75846cdf415443879344e01e38cda7d0cfccdb2c /packages/taler-wallet-webextension/src | |
parent | b9f908db58c43d739e343dda250c5857ec893968 (diff) | |
download | wallet-core-0a05f6d9030b5a2ce201a98553fa4e6ff13eb907.tar.xz |
wallet-core: always use batch withdrawal
Diffstat (limited to 'packages/taler-wallet-webextension/src')
4 files changed, 0 insertions, 7 deletions
diff --git a/packages/taler-wallet-webextension/src/hooks/useSettings.ts b/packages/taler-wallet-webextension/src/hooks/useSettings.ts index 5c1ed7924..7332c15bb 100644 --- a/packages/taler-wallet-webextension/src/hooks/useSettings.ts +++ b/packages/taler-wallet-webextension/src/hooks/useSettings.ts @@ -34,7 +34,6 @@ function parse_json_or_undefined<T>(str: string | undefined): T | undefined { export const codecForSettings = (): Codec<Settings> => buildCodecForObject<Settings>() .property("walletAllowHttp", codecForBoolean()) - .property("walletBatchWithdrawal", codecForBoolean()) .property("injectTalerSupport", codecForBoolean()) .property("advanceMode", codecForBoolean()) .property("backup", codecForBoolean()) diff --git a/packages/taler-wallet-webextension/src/platform/api.ts b/packages/taler-wallet-webextension/src/platform/api.ts index 2537b16c2..ae57b8faf 100644 --- a/packages/taler-wallet-webextension/src/platform/api.ts +++ b/packages/taler-wallet-webextension/src/platform/api.ts @@ -119,7 +119,6 @@ export const defaultSettings: Settings = { showJsonOnError: false, extendedAccountTypes: false, walletAllowHttp: false, - walletBatchWithdrawal: false, }; /** diff --git a/packages/taler-wallet-webextension/src/wallet/Settings.tsx b/packages/taler-wallet-webextension/src/wallet/Settings.tsx index 4098fd55b..071d2a594 100644 --- a/packages/taler-wallet-webextension/src/wallet/Settings.tsx +++ b/packages/taler-wallet-webextension/src/wallet/Settings.tsx @@ -316,10 +316,6 @@ function AdvanceSettings(): VNode { label: i18n.str`Allow HTTP connections`, description: i18n.str`Using HTTP connection may be faster but unsafe (wallet restart required)`, }, - walletBatchWithdrawal: { - label: i18n.str`Allow batch withdrawals`, - description: i18n.str`Using the batch withdrawal API allows faster withdrawals (wallet restart required)`, - }, langSelector: { label: i18n.str`Lang selector`, description: i18n.str`Allows to manually change the language of the UI. Otherwise it will be automatically selected by your browser configuration.`, diff --git a/packages/taler-wallet-webextension/src/wxBackend.ts b/packages/taler-wallet-webextension/src/wxBackend.ts index dfdb1b0d5..95af1a3a4 100644 --- a/packages/taler-wallet-webextension/src/wxBackend.ts +++ b/packages/taler-wallet-webextension/src/wxBackend.ts @@ -332,7 +332,6 @@ async function reinitWallet(): Promise<void> { { features: { allowHttp: settings.walletAllowHttp, - batchWithdrawal: settings.walletBatchWithdrawal, }, }, ); |