Fixes balance display on home tab (displays total). Adds (!) icon next to balance on home tab when total is not equal to available balance.

This commit is contained in:
Andy Phillipson 2016-12-12 10:48:43 -05:00
commit cd3677b57c
4 changed files with 19 additions and 9 deletions

View file

@ -80,7 +80,8 @@
Incomplete
</span>
<span ng-if="wallet.isComplete()">
<span ng-if="!wallet.balanceHidden">{{wallet.status.pendingBalanceStr}}</span>
<span ng-if="!wallet.balanceHidden">{{wallet.status.totalBalanceStr}}</span>
<img ng-if="!wallet.balanceHidden && (status.totalBalanceSat == status.spendableAmount)" class="tab-home__wallet__icon" src="img/icon-important.svg"/>
<span ng-if="wallet.balanceHidden" translate>[Balance Hidden]</span>
<span class="tab-home__wallet__multisig-number" ng-if="wallet.n > 1">
{{wallet.m}}-of-{{wallet.n}}