Refactored sendFlowService and cleared its state before entering the send tab.
This commit is contained in:
parent
e7ce86fb99
commit
dff0d51ef3
11 changed files with 125 additions and 49 deletions
|
|
@ -187,6 +187,13 @@ angular.module('copayApp.controllers').controller('tabSendController', function(
|
|||
});
|
||||
};
|
||||
|
||||
$scope.startWalletToWalletTransfer = function() {
|
||||
console.log('startWalletToWalletTransfer()');
|
||||
$state.transitionTo('tabs.send.wallet-to-wallet', {
|
||||
fromWalletId: sendFlowService.fromWalletId
|
||||
});
|
||||
}
|
||||
|
||||
// This could probably be enhanced refactoring the routes abstract states
|
||||
$scope.createWallet = function() {
|
||||
$state.go('tabs.home').then(function() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue