Merge pull request #2643

3528bcd main: show wizard init screen when no wallet is found (selsta)
pull/2/head
luigi1111 5 years ago
commit b73551d6ab
No known key found for this signature in database
GPG Key ID: F4ACA0183641E010

@ -1316,10 +1316,11 @@ ApplicationWindow {
} }
} else console.log("qrScannerEnabled disabled"); } else console.log("qrScannerEnabled disabled");
wizard.wizardState = "wizardHome";
if(!walletsFound()) { if(!walletsFound()) {
wizard.wizardState = "wizardLanguage";
rootItem.state = "wizard" rootItem.state = "wizard"
} else { } else {
wizard.wizardState = "wizardHome";
rootItem.state = "normal" rootItem.state = "normal"
openWallet("wizard"); openWallet("wizard");
} }