Displays error when transaction amount too low. Reinstated warning colour for transactions with high fees.

This commit is contained in:
Brendon Duncan 2018-08-03 10:41:21 +12:00
commit 6626663a31
2 changed files with 18 additions and 6 deletions

View file

@ -73,10 +73,10 @@
</ion-content>
<div class="fee-summary">
<div class="fee-fiat positive" ng-if="vm.feeLessThanACent">Fee: Less than 1 cent</div>
<div class="fee-fiat positive" ng-if="!vm.feeLessThanACent">Fee: <amount value="fee.value" currency="fee.currency"></amount></div>
<div class="fee-fiat" ng-class="vm.feeIsHigh ? 'negative' : 'positive'" ng-if="vm.feeLessThanACent">Fee: Less than 1 cent</div>
<div class="fee-fiat" ng-class="vm.feeIsHigh ? 'negative' : 'positive'" ng-if="!vm.feeLessThanACent">Fee: {{vm.feeFiat}} {{vm.feeCurrency}}</div>
<div class="fee-crypto" ng-if="vm.feeCrypto">
<amount value="vm.feeCrypto" currency="fee.currency"></amount>
{{vm.feeCrypto}} {{vm.origin.currency}}
</div>
</div>