diff --git a/src/js/controllers/tab-send.js b/src/js/controllers/tab-send.js index 381cb5cd9..9636fa305 100644 --- a/src/js/controllers/tab-send.js +++ b/src/js/controllers/tab-send.js @@ -143,4 +143,17 @@ angular.module('copayApp.controllers').controller('tabSendController', function( updateHasFunds(); }); + // This could probably be enhanced refactoring the routes abstract states + $scope.createWallet = function() { + $state.go('tabs.home').then(function() { + $state.go('tabs.add.create-personal'); + }); + }; + + $scope.buyBitcoin = function() { + $state.go('tabs.home').then(function() { + $state.go('tabs.buyandsell.glidera'); + }); + }; + }); diff --git a/www/views/tab-send.html b/www/views/tab-send.html index d3dc03760..886ea93a7 100644 --- a/www/views/tab-send.html +++ b/www/views/tab-send.html @@ -11,8 +11,8 @@