wizardWalletInput: check wallet exists in wallet dir

This commit is contained in:
plowsof 2023-02-08 23:39:10 +00:00
parent b7ba9437d8
commit 07a2369a26

View file

@ -76,8 +76,9 @@ function walletPathExists(accountsDir, directory, filename, isIOS, walletManager
var path = accountsDir + filename;
else
var path = directory + filename + "/" + filename;
var path2 = directory + filename;
if (walletManager.walletExists(path))
if (walletManager.walletExists(path) || walletManager.walletExists(path2))
return true;
return false;
}