Skip to content

Commit

Permalink
Set denomination to BCH when dealing with BIP21 URIs
Browse files Browse the repository at this point in the history
  • Loading branch information
joemarct committed Jul 14, 2024
1 parent 78e7fc4 commit 9579db2
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
6 changes: 5 additions & 1 deletion src/components/SendPageForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -214,8 +214,12 @@ export default {
this.amount = this.recipient.amount
this.amountFormatted = this.inputExtras.amountFormatted
this.sendAmountInFiat = this.inputExtras.sendAmountInFiat
this.selectedDenomination = this.inputExtras.selectedDenomination
this.isLegacyAddress = this.inputExtras.isLegacyAddress
if (this.inputExtras.isBip21) {
this.selectedDenomination = 'BCH'
} else {
this.selectedDenomination = this.inputExtras.selectedDenomination
}
},
computed: {
Expand Down
2 changes: 1 addition & 1 deletion src/pages/qr/generate-qr.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
</div>

<div v-else class="column items-center">
<div>
<div style="margin-top: 20px;">
<q-img src="bch-logo.png" height="35px" width="35px" />
&nbsp;BCH
<q-toggle
Expand Down
2 changes: 1 addition & 1 deletion src/pages/transaction/send.vue
Original file line number Diff line number Diff line change
Expand Up @@ -1758,7 +1758,7 @@ export default {
.send-form {
font-size: 26px !important;
margin-top: -100px;
padding-top: 20px;
padding-top: 30px;
.remove-recipient-button {
font-size: 14px;
color: red;
Expand Down

0 comments on commit 9579db2

Please sign in to comment.