diff options
| author | luigi1111 <luigi1111w@gmail.com> | 2019-02-27 14:43:29 -0600 |
|---|---|---|
| committer | luigi1111 <luigi1111w@gmail.com> | 2019-02-27 14:43:29 -0600 |
| commit | cf3f785fa2df0efa90529f03ebe0a0496bcaca78 (patch) | |
| tree | 668e08ad2e425b7731b5215ed18f4bc32a816176 /js/Wizard.js | |
| parent | 42103432b79bb52b254531a77d93f26007e1cc42 (diff) | |
| parent | 87e93e1b08a4f2e27d9b294efa197e5fe5f2f296 (diff) | |
| download | monzero-gui-cf3f785fa2df0efa90529f03ebe0a0496bcaca78.tar.gz monzero-gui-cf3f785fa2df0efa90529f03ebe0a0496bcaca78.tar.xz monzero-gui-cf3f785fa2df0efa90529f03ebe0a0496bcaca78.zip | |
Merge pull request #1975
87e93e1 Settings: fix create view only wallet button (selsta)
Diffstat (limited to 'js/Wizard.js')
| -rw-r--r-- | js/Wizard.js | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/js/Wizard.js b/js/Wizard.js index 220fd0a2..44954c8a 100644 --- a/js/Wizard.js +++ b/js/Wizard.js @@ -24,22 +24,6 @@ function updateFromQrCode(address, payment_id, amount, tx_description, recipient checkNextButton(); } -function restart(){ - wizard.currentPage = 0; - wizard.settings = ({}) - wizard.currentPath = "create_wallet" - wizard.pages = paths[currentPath] - wizardRestarted(); - - //hide all pages except first - for (var i = 1; i < wizard.pages.length; i++){ - wizard.pages[i].opacity = 0; - } - //Show first pages - wizard.pages[0].opacity = 1; - -} - function switchPage(next) { // Android focus workaround releaseFocus(); @@ -75,38 +59,6 @@ function switchPage(next) { } } -function openRecoveryWalletPage() { - wizardRestarted(); - print ("show recovery wallet page"); - currentPath = "recovery_wallet" - pages = paths[currentPath] - // Create temporary wallet - createWalletPage.createWallet(settings) - wizard.nextButton.visible = true - // goto next page - switchPage(true); -} - -function openCreateViewOnlyWalletPage(){ - pages[currentPage].opacity = 0 - currentPath = "create_view_only_wallet" - pages = paths[currentPath] - currentPage = pages.indexOf(createViewOnlyWalletPage) - createViewOnlyWalletPage.opacity = 1 - nextButton.visible = true - rootItem.state = "wizard"; -} - -function openCreateWalletFromDevicePage() { - wizardRestarted(); - print ("show create wallet from device page"); - currentPath = "create_wallet_from_device" - pages = paths[currentPath] - wizard.nextButton.visible = true - // goto next page - switchPage(true); -} - function createWalletPath(isIOS, folder_path,account_name){ // Remove trailing slash - (default on windows and mac) if (folder_path.substring(folder_path.length -1) === "/"){ |
