UI for crypto fee warning.
This commit is contained in:
parent
e21592dec8
commit
85a74bbd0e
2 changed files with 9 additions and 5 deletions
|
|
@ -21,9 +21,10 @@ function reviewController(addressbookService, configService, $ionicConfig, $log,
|
|||
vm.fee = {
|
||||
cryptoAmount: '',
|
||||
cryptoCurrencyCode: '',
|
||||
cryptoDescription: '',
|
||||
description: '',
|
||||
fiatAmount: '',
|
||||
fiatCurrency: ''
|
||||
fiatCurrency: '',
|
||||
high: false
|
||||
};
|
||||
vm.fee
|
||||
vm.feeFiat = '';
|
||||
|
|
@ -62,9 +63,10 @@ function reviewController(addressbookService, configService, $ionicConfig, $log,
|
|||
vm.fee = {
|
||||
cryptoAmount: '0.00195823',
|
||||
cryptoCurrencyCode: 'BCH',
|
||||
cryptoDescription: 'Less than 1 cent',
|
||||
description: 'Less than 1 cent',
|
||||
fiatAmount: '',
|
||||
fiatCurrency: ''
|
||||
fiatCurrency: '',
|
||||
high: false
|
||||
};
|
||||
|
||||
originWalletId = data.stateParams.fromWalletId;
|
||||
|
|
|
|||
|
|
@ -72,7 +72,9 @@
|
|||
</ion-content>
|
||||
|
||||
<div class="fee-summary">
|
||||
<div class="fee-fiat positive">Fee: Less than 1 cent</div>
|
||||
<div class="fee-fiat" ng-class="vm.fee.high ? 'negative' : 'positive'">
|
||||
Fee: {{vm.fee.description}}<span ng-if="!vm.fee.description">{{vm.fee.fiatAmount}} {{vm.fee.fiatCurrency}}<span>
|
||||
</div>
|
||||
<div class="fee-crypto">
|
||||
{{vm.fee.cryptoAmount}} {{vm.fee.cryptoCurrencyCode}}
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue