Reverted nfc button not showing

How it was before is better, as people know nfc functionality exists. It pushes them to use the right browser
This commit is contained in:
ben 2022-08-31 18:52:12 +01:00
parent 13dd3bbe43
commit fa4b89b9a2
2 changed files with 2 additions and 3 deletions

View File

@ -16,7 +16,6 @@ new Vue({
return {
toggleAdvanced: false,
nfcTagReading: false,
nfcSupported: typeof NDEFReader != 'undefined',
lnurlLink: `${window.location.host}/boltcards/api/v1/scan/`,
cards: [],
hits: [],

View File

@ -251,7 +251,7 @@
>
</q-input>
<div class="row">
<div v-bind:class="{'col-10': nfcSupported, 'col-12': !nfcSupported}">
<div class="col-10">
<q-input
filled
dense
@ -265,7 +265,7 @@
>
</q-input>
</div>
<div class="col-2 q-pl-sm" v-if="nfcSupported">
<div class="col-2 q-pl-sm">
<q-btn
outline
disable