Countdown timer for BIP70 invoices.

This commit is contained in:
Brendon Duncan 2018-08-07 09:39:48 +12:00
commit d183077a20
3 changed files with 94 additions and 64 deletions

View file

@ -51,7 +51,7 @@
ng-if="vm.thirdParty && vm.thirdParty.id === 'bip70' && vm.thirdParty.name === 'bitpay'">
<img src="img/icon-bitpay.svg" class="bg">
<h2>BitPay</h2>
<p>Payment expired in XX:XX</p>
<p translate>Payment expires: {{vm.remainingTimeStr}}</p>
</div>
<div class="item-content item-content-compact" ng-init="addressExpanded = false" ng-if="vm.destination.kind === 'address' && !vm.thirdParty">
<div class="address-frame" ng-class="{ 'expanded': addressExpanded }" ng-click="addressExpanded = !addressExpanded">