Skip to content

Commit

Permalink
Update styles for confirmation steps
Browse files Browse the repository at this point in the history
  • Loading branch information
ronaldsg20 authored and alexjavabraz committed Apr 3, 2024
1 parent 2726057 commit ae6b49b
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 7 deletions.
Binary file added src/assets/exchange/steps/0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/exchange/steps/1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/exchange/steps/2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/exchange/steps/3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions src/common/services/LiqualityService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ export default class LiqualityService extends WalletService {
amount: true,
},
change: {
address: false,
amount: false,
address: true,
amount: true,
},
federation: {
address: true,
Expand Down
16 changes: 11 additions & 5 deletions src/pegin/components/create/ConfirmTx.vue
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<v-row class="step-title">
<v-col>
<v-row class="mx-0 d-flex justify-center">
<v-img :src="require('@/assets/exchange/rootstock_black.png')" height="40" contain/>
<v-img :src="require(`@/assets/exchange/steps/${idx}.png`)" height="40" contain/>
</v-row>
<v-row class="mx-0 my-3 d-flex justify-center">
<h4 class="text-center">
Expand Down Expand Up @@ -94,8 +94,8 @@
</v-row>
<v-row v-if="step.outputsToshow.federation.address"
justify="center" class="mt-5 mx-0 d-lg-none">
<span>
{{cropAddress(rskFederationAddress)}}
<span class="breakable-address">
{{rskFederationAddress}}
</span>
</v-row>
<v-divider
Expand All @@ -122,8 +122,8 @@
</v-row>
<v-row v-if="step.outputsToshow.change.address"
justify="center" class="mt-5 mx-0 d-lg-none">
<span>
{{cropAddress(changeAddress)}}
<span class="breakable-address">
{{changeAddress}}
</span>
</v-row>
<v-divider
Expand All @@ -133,6 +133,12 @@
justify="center" class="mt-5 mx-0 text-center">
Fee: {{safeFee.toBTCTrimmedString()}} {{ environmentContext.getBtcTicker() }}
</v-row>
<v-row v-if="step.fee">
<span class="grayish">
Please make sure to check that the fee this transaction
is paying is along your expectations.
</span>
</v-row>
<v-divider
v-if="step.fee"
class="mt-6 mb-3"/>
Expand Down

0 comments on commit ae6b49b

Please sign in to comment.