fix: qr code

This commit is contained in:
Vlad Stan 2024-10-04 13:15:32 +03:00
commit 1fe26c297f
4 changed files with 8 additions and 8 deletions

View file

@ -9,12 +9,12 @@
{% endif %}
<a class="text-secondary" href="lightning:{{ lnurl }}">
<q-responsive :ratio="1" class="q-mx-md">
<qrcode
<lnbits-qrcode
:value="this.here + '/?lightning={{lnurl }}'"
:options="{width: 800}"
class="rounded-borders"
>
</qrcode>
</lnbits-qrcode>
</q-responsive>
</a>
</div>

View file

@ -409,11 +409,11 @@
<q-dialog v-model="qrCodeDialog.show" position="top">
<q-card v-if="qrCodeDialog.data" class="q-pa-lg lnbits__dialog-card">
<q-responsive :ratio="1" class="q-mx-xl q-mb-md">
<qrcode
<lnbits-qrcode
:value="qrCodeDialog.data.url + '/?lightning=' + qrCodeDialog.data.lnurl"
:options="{width: 800}"
class="rounded-borders"
></qrcode>
></lnbits-qrcode>
{% raw %}
</q-responsive>
<p style="word-break: break-all">

View file

@ -10,10 +10,10 @@
{% for one in threes %}
<td style="width: 105mm">
<center>
<qrcode
<lnbits-qrcode
:value="theurl + '/?lightning={{one}}'"
:options="{width: 150}"
></qrcode>
></lnbits-qrcode>
</center>
</td>
{% endfor %}

View file

@ -9,10 +9,10 @@
<img src="{{custom_url}}" alt="..." />
<span>{{ amt }} sats</span>
<div class="lnurlw">
<qrcode
<lnbits-qrcode
:value="theurl + '/?lightning={{one}}'"
:options="{width: 95, margin: 1}"
></qrcode>
></lnbits-qrcode>
</div>
</div>
{% endfor %}