Change screen for new wallets for monero.com app

This commit is contained in:
M
2022-01-03 20:25:48 +02:00
parent ff7700aa1f
commit 800c3ec14a
4 changed files with 19 additions and 7 deletions
+3 -1
View File
@@ -35,7 +35,9 @@ abstract class WalletCreationVMBase with Store {
Future<void> create({dynamic options}) async {
try {
state = IsExecutingState();
name = await generateName();
if (name?.isEmpty ?? true) {
name = await generateName();
}
final dirPath = await pathForWalletDir(name: name, type: type);
final path = await pathForWallet(name: name, type: type);
final credentials = getCredentials(options);