Merge pull request #2643

3528bcd main: show wizard init screen when no wallet is found (selsta)
This commit is contained in:
luigi1111 2019-12-23 09:29:15 -05:00
commit b73551d6ab
No known key found for this signature in database
GPG Key ID: F4ACA0183641E010

View File

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