Skip to content

Commit 6fbca4a

Browse files
committed
show qr by default
1 parent 65bd5ea commit 6fbca4a

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

assets_js_bitrequest_payments.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -616,6 +616,7 @@ function continue_paymentfunction() {
616616
offlineclass = (glob_offline === true) ? " br_offline" : "",
617617
pendingclass = (ispending === true && monitored === true && requesttype == "local") ? "ispending" : "",
618618
has_xmr_ia = (xmr_ia == address) ? false : xmr_ia,
619+
showqr = ("showqr" in gets) ? true : false,
619620
extend_data = {
620621
"uoa": uoa,
621622
"amount": amount,
@@ -647,7 +648,8 @@ function continue_paymentfunction() {
647648
"xmr_ia": has_xmr_ia,
648649
"monitored": monitored,
649650
"coinsettings": coinsettings,
650-
"dataobject": dataobject
651+
"dataobject": dataobject,
652+
"showqr": showqr
651653
},
652654
extend_helper_data = {
653655
"socket_list": socket_list,
@@ -925,7 +927,9 @@ function proceed_pf(error) {
925927
"data-lnd": lndstatus
926928
});
927929
if (request.isrequest === true) {
928-
add_flip();
930+
if (request.showqr) {} else {
931+
add_flip();
932+
}
929933
}
930934
if (glob_offline === true) { // no price conversion when app is offline
931935
rendercurrencypool({

0 commit comments

Comments
 (0)