use coin in sendMax
This commit is contained in:
parent
49cdd79638
commit
cfe7597465
2 changed files with 4 additions and 3 deletions
|
|
@ -373,7 +373,7 @@ angular.module('copayApp.controllers').controller('amountController', function($
|
||||||
id: _id,
|
id: _id,
|
||||||
amount: $scope.useSendMax ? null : _amount,
|
amount: $scope.useSendMax ? null : _amount,
|
||||||
currency: unit.id.toUpperCase(),
|
currency: unit.id.toUpperCase(),
|
||||||
coin: $scope.useSendMax ? null : coin,
|
coin: coin,
|
||||||
useSendMax: $scope.useSendMax
|
useSendMax: $scope.useSendMax
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
|
|
@ -392,7 +392,7 @@ angular.module('copayApp.controllers').controller('amountController', function($
|
||||||
toName: $scope.toName,
|
toName: $scope.toName,
|
||||||
toEmail: $scope.toEmail,
|
toEmail: $scope.toEmail,
|
||||||
toColor: $scope.toColor,
|
toColor: $scope.toColor,
|
||||||
coin: $scope.useSendMax ? null : coin,
|
coin: coin,
|
||||||
useSendMax: $scope.useSendMax
|
useSendMax: $scope.useSendMax
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -121,7 +121,8 @@ angular.module('copayApp.controllers').controller('confirmController', function(
|
||||||
};
|
};
|
||||||
|
|
||||||
// Setup $scope
|
// Setup $scope
|
||||||
//
|
|
||||||
|
|
||||||
var B = data.stateParams.coin == 'bch' ? bitcoreCash : bitcore;
|
var B = data.stateParams.coin == 'bch' ? bitcoreCash : bitcore;
|
||||||
|
|
||||||
// Grab stateParams
|
// Grab stateParams
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue