diff --git a/BTCPayServer/Plugins/BoltcardBalance/Views/BalanceView.cshtml b/BTCPayServer/Plugins/BoltcardBalance/Views/BalanceView.cshtml index 1757945b4..35a31f3c8 100644 --- a/BTCPayServer/Plugins/BoltcardBalance/Views/BalanceView.cshtml +++ b/BTCPayServer/Plugins/BoltcardBalance/Views/BalanceView.cshtml @@ -14,27 +14,19 @@ @if (this.ViewData["NoCancelWizard"] is not true) { - - @if (Model.AmountDue > 0) - { -
- Sweep remaining balance -
- } + } -
-
-
-
-
@DisplayFormatter.Currency(Model.AmountDue, Model.Currency)
-
-
+
+
+
+
+
@DisplayFormatter.Currency(Model.AmountDue, Model.Currency)
+
+
@if (Model.AmountDue > 0) {
@@ -42,12 +34,24 @@
} - -
-
-
+
+ Reset Boltcard from app +

Requires installing the Bolt Card NFC Card Creator app

+
+
+ + +
+ + @if (Model.AmountDue > 0) + { + Sweep remaining balance + } +
+ + @if (Model.Transactions.Any()) diff --git a/BTCPayServer/Plugins/BoltcardBalance/Views/ScanCard.cshtml b/BTCPayServer/Plugins/BoltcardBalance/Views/ScanCard.cshtml index ec029e602..848a51524 100644 --- a/BTCPayServer/Plugins/BoltcardBalance/Views/ScanCard.cshtml +++ b/BTCPayServer/Plugins/BoltcardBalance/Views/ScanCard.cshtml @@ -170,6 +170,9 @@ if (state === "NFCNotSupported") { document.getElementById("qr").classList.remove("d-none"); + document.querySelector(".nfc-supported").foreach(el => { + el.classList.add("d-none"); + }); } else if (state === "WaitingForPermission") {