feat: small UI improvements

This commit is contained in:
Vlad Stan 2023-02-13 11:50:18 +02:00
parent b7840ced08
commit 330fceaf34

View file

@ -46,8 +46,10 @@
:content-inset-level="0.5"
default-opened
>
<div class="q-ma-xl">
<q-responsive :ratio="1" class="q-ma-xl q-mx-md">
<div class="row">
<div class="col-3"></div>
<div class="col-6">
<q-responsive :ratio="1">
<qrcode
:value="'lightning:'+joinInvoice"
:options="{width: 340}"
@ -55,6 +57,8 @@
></qrcode>
</q-responsive>
</div>
<div class="col-3"></div>
</div>
</q-expansion-item>
</q-card-section>
</q-card>
@ -167,6 +171,7 @@
pubkey: this.pubkey
}
)
console.log('### data.invoice', data.invoice)
this.joinInvoice = data.invoice
} catch (error) {
LNbits.utils.notifyApiError(error)