use contact icon - fix text size - refactor recipient icon type
This commit is contained in:
parent
9472f095eb
commit
428a842459
9 changed files with 32 additions and 28 deletions
|
|
@ -23,8 +23,7 @@ angular.module('copayApp.controllers').controller('amountController', function($
|
|||
$scope.forceCurrency = data.stateParams.forceCurrency;
|
||||
|
||||
$scope.showMenu = $ionicHistory.backView() && $ionicHistory.backView().stateName == 'tabs.send';
|
||||
var isWallet = data.stateParams.isWallet || 'false';
|
||||
$scope.isWallet = (isWallet.toString().trim().toLowerCase() == 'true' ? true : false);
|
||||
$scope.recipientType = data.stateParams.recipientType || null;
|
||||
$scope.toAddress = data.stateParams.toAddress;
|
||||
$scope.toName = data.stateParams.toName;
|
||||
$scope.toEmail = data.stateParams.toEmail;
|
||||
|
|
@ -95,7 +94,7 @@ angular.module('copayApp.controllers').controller('amountController', function($
|
|||
$scope.sendMax = function() {
|
||||
$scope.showSendMax = false;
|
||||
$state.transitionTo('tabs.send.confirm', {
|
||||
isWallet: $scope.isWallet,
|
||||
recipientType: $scope.recipientType,
|
||||
toAmount: null,
|
||||
toAddress: $scope.toAddress,
|
||||
toName: $scope.toName,
|
||||
|
|
@ -234,7 +233,7 @@ angular.module('copayApp.controllers').controller('amountController', function($
|
|||
});
|
||||
} else {
|
||||
$state.transitionTo('tabs.send.confirm', {
|
||||
isWallet: $scope.isWallet,
|
||||
recipientType: $scope.recipientType,
|
||||
toAmount: (amount * unitToSatoshi).toFixed(0),
|
||||
toAddress: $scope.toAddress,
|
||||
toName: $scope.toName,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue