fix(wallet): pick a random emoji in the wallet new account modal
Updates #13715
This commit is contained in:
parent
a586c6d352
commit
631ae08a8d
|
@ -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)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue