Merge pull request #274 from Bitcoin-com/wallet/sprint/20
Wallet/sprint/20
This commit is contained in:
commit
1c38298bbf
1 changed files with 4 additions and 1 deletions
|
|
@ -304,10 +304,13 @@ angular.module('copayApp.controllers').controller('walletDetailsController', fun
|
||||||
};
|
};
|
||||||
|
|
||||||
function refreshAmountSection(scrollPos) {
|
function refreshAmountSection(scrollPos) {
|
||||||
var AMOUNT_HEIGHT_BASE = 270;
|
var AMOUNT_HEIGHT_BASE = 210;
|
||||||
$scope.showBalanceButton = false;
|
$scope.showBalanceButton = false;
|
||||||
if ($scope.status) {
|
if ($scope.status) {
|
||||||
$scope.showBalanceButton = ($scope.status.totalBalanceSat != $scope.status.spendableAmount);
|
$scope.showBalanceButton = ($scope.status.totalBalanceSat != $scope.status.spendableAmount);
|
||||||
|
if ($scope.showBalanceButton) {
|
||||||
|
AMOUNT_HEIGHT_BASE = 270;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
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