From fa4b89b9a25f98a797f16f5a6389931d4c666223 Mon Sep 17 00:00:00 2001 From: ben Date: Wed, 31 Aug 2022 18:52:12 +0100 Subject: [PATCH] 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 --- lnbits/extensions/boltcards/static/js/index.js | 1 - lnbits/extensions/boltcards/templates/boltcards/index.html | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/lnbits/extensions/boltcards/static/js/index.js b/lnbits/extensions/boltcards/static/js/index.js index 84c2fca5..d38bad36 100644 --- a/lnbits/extensions/boltcards/static/js/index.js +++ b/lnbits/extensions/boltcards/static/js/index.js @@ -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: [], diff --git a/lnbits/extensions/boltcards/templates/boltcards/index.html b/lnbits/extensions/boltcards/templates/boltcards/index.html index 26af61f2..96d9c9d0 100644 --- a/lnbits/extensions/boltcards/templates/boltcards/index.html +++ b/lnbits/extensions/boltcards/templates/boltcards/index.html @@ -251,7 +251,7 @@ >
-
+
-
+