allow for nip19 for account

This commit is contained in:
Tiago Vasconcelos 2023-03-13 15:48:32 +00:00
parent b7d091cf84
commit 0fe9712b45
2 changed files with 14 additions and 6 deletions

View file

@ -216,11 +216,12 @@
<q-card-section class="q-pt-none">
<q-input
dense
label="Private key (hex)"
label="nsec/npub/hex"
v-model="accountDialog.data.key"
autofocus
@keyup.enter="createAccount"
:error="!isValidKey"
:error="accountDialog.data.key && !isValidKey"
hint="Enter you private key (recommended) or public key"
></q-input>
<q-item tag="label">