aboutsummaryrefslogtreecommitdiff
path: root/packages/demobank-ui/src/hooks
diff options
context:
space:
mode:
authorSebastian <sebasjm@gmail.com>2023-09-22 15:29:19 -0300
committerSebastian <sebasjm@gmail.com>2023-09-25 14:50:43 -0300
commita59df74fb2b4374fd58f68fd4abaffe623cd54d6 (patch)
tree01d930cbdf2f50f1d3b228af37ebaa9c2c183489 /packages/demobank-ui/src/hooks
parentdfd23f63ba40a2afb0cb41bf742b0ae647a2b38c (diff)
downloadwallet-core-a59df74fb2b4374fd58f68fd4abaffe623cd54d6.tar.xz
more ui
Diffstat (limited to 'packages/demobank-ui/src/hooks')
-rw-r--r--packages/demobank-ui/src/hooks/settings.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/demobank-ui/src/hooks/settings.ts b/packages/demobank-ui/src/hooks/settings.ts
index c2fd93a0c..5f004c6d4 100644
--- a/packages/demobank-ui/src/hooks/settings.ts
+++ b/packages/demobank-ui/src/hooks/settings.ts
@@ -30,6 +30,7 @@ interface Settings {
currentWithdrawalOperationId: string | undefined;
showWithdrawalSuccess: boolean;
showDemoDescription: boolean;
+ showInstallWallet: boolean;
maxWithdrawalAmount: number;
fastWithdrawal: boolean;
}
@@ -39,6 +40,7 @@ export const codecForSettings = (): Codec<Settings> =>
.property("currentWithdrawalOperationId", codecOptional(codecForString()))
.property("showWithdrawalSuccess", (codecForBoolean()))
.property("showDemoDescription", (codecForBoolean()))
+ .property("showInstallWallet", (codecForBoolean()))
.property("fastWithdrawal", (codecForBoolean()))
.property("maxWithdrawalAmount", codecForNumber())
.build("Settings");
@@ -47,6 +49,7 @@ const defaultSettings: Settings = {
currentWithdrawalOperationId: undefined,
showWithdrawalSuccess: true,
showDemoDescription: true,
+ showInstallWallet: true,
maxWithdrawalAmount: 25,
fastWithdrawal: false,
};