fix(wallet): pick a random emoji in the wallet new account modal

Updates #13715
This commit is contained in:
Stefan 2024-03-19 22:02:16 +02:00 committed by Stefan Dunca
parent a586c6d352
commit 631ae08a8d
1 changed files with 2 additions and 1 deletions

View File

@ -35,11 +35,12 @@ Item {
} }
accountName.text = root.store.addAccountModule.accountName accountName.text = root.store.addAccountModule.accountName
if (d.isEdit) { if (root.store.addAccountModule.selectedEmoji !== "") {
accountName.input.asset.emoji = root.store.addAccountModule.selectedEmoji; accountName.input.asset.emoji = root.store.addAccountModule.selectedEmoji;
} else { } else {
accountName.input.asset.isLetterIdenticon = true; accountName.input.asset.isLetterIdenticon = true;
} }
accountName.input.edit.forceActiveFocus() accountName.input.edit.forceActiveFocus()
accountName.validate(true) accountName.validate(true)
} }