balance button hide
This commit is contained in:
parent
ed45495ae2
commit
41c11a2c17
1 changed files with 2 additions and 2 deletions
|
|
@ -271,7 +271,7 @@ angular.module('copayApp.controllers').controller('walletDetailsController', fun
|
||||||
function refreshAmountSection(scrollPos) {
|
function refreshAmountSection(scrollPos) {
|
||||||
$scope.showBalanceButton = false;
|
$scope.showBalanceButton = false;
|
||||||
if ($scope.wallet.status) {
|
if ($scope.wallet.status) {
|
||||||
$scope.showBalanceButton = ($scope.wallet.status.totalBalanceSat != $scope.wallet.status.spendableAmount);
|
$scope.showBalanceButton = ($scope.status.totalBalanceSat != $scope.status.spendableAmount);
|
||||||
}
|
}
|
||||||
if (!$scope.amountIsCollapsible) {
|
if (!$scope.amountIsCollapsible) {
|
||||||
var t = ($scope.showBalanceButton ? 15 : 45);
|
var t = ($scope.showBalanceButton ? 15 : 45);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue