From a39490a30c717d77e2c473b44e2c0a299d82eb84 Mon Sep 17 00:00:00 2001 From: Niko Date: Sun, 18 Jun 2023 17:02:47 +0300 Subject: [PATCH] fix WalletCreate, add more options --- ng-app/src/routes/WalletCreate.svelte | 38 ++++++++++++++++++++++++--- 1 file changed, 34 insertions(+), 4 deletions(-) diff --git a/ng-app/src/routes/WalletCreate.svelte b/ng-app/src/routes/WalletCreate.svelte index 47b48f5..1d8f767 100644 --- a/ng-app/src/routes/WalletCreate.svelte +++ b/ng-app/src/routes/WalletCreate.svelte @@ -137,10 +137,12 @@ options = { trusted: true, cloud: false, + bootstrap: true, + pdf: true, }; console.log("saved"); await tick(); - info_options.scrollIntoView(); + scrollToTop(); } async function do_wallet() { @@ -150,7 +152,7 @@ security_txt, pin, pazzle_length: 9, - send_bootstrap: undefined, //options.cloud ? : undefined, + send_bootstrap: undefined, //options.cloud || options.bootstrap ? : undefined, send_wallet: options.cloud, peer_id: { Ed25519PubKey: [ @@ -688,7 +690,7 @@

We are almost done !
- There are 2 options to choose before we can create your wallet. Those options + There are 4 options to choose before we can create your wallet. Those options can help you to use and keep your wallet. But we also want to be careful with your security and privacy.

Remember that in any case, once your wallet will be created, you will download @@ -722,6 +724,34 @@ >Save your wallet in the cloud?

+

+ Create a PDF file of your wallet?
+ We can prepare for you a PDF file containing all the information of your + wallet, unencrypted. You should print this file and then delete the PDF (and + empty the trash). Keep this printed documented in a safe place. It contains + all the information to regenerate your wallet in case you lost access to + it. +
+ Create a PDF of my wallet? +

+ {#if !options.cloud} +

+ Create a link to access your wallet easily? +
+ When you want to use your wallet on the web or in other apps, we can help + you find your wallet by creating a simple link accessible from anywhere. + Only you will have access to this link. In order to do so, we will keep + your wallet ID and some information about your broker on our cloud servers. + If you prefer to opt out, just uncheck this option. +
+ Create a link to my wallet? +

+ {/if}