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