update to txp creation. merged and refactored many features from confirm.js

This commit is contained in:
Sebastiaan Pasma 2018-08-02 18:30:35 +02:00
commit eef84b25f8
No known key found for this signature in database
GPG key ID: 9A2B0C8B95A1D26F
5 changed files with 428 additions and 20 deletions

View file

@ -140,7 +140,7 @@ angular.module('copayApp.controllers').controller('confirmController', function(
return cb();
});
}
};
$scope.$on("$ionicView.beforeEnter", function(event, data) {
$scope.fromWallet = profileService.getWallet(data.stateParams.fromWalletId); // Wallet to send from
@ -463,7 +463,6 @@ angular.module('copayApp.controllers').controller('confirmController', function(
}
};
$scope.toggleAddress = function() {
$scope.showAddress = !$scope.showAddress;
};