Fix addressbookAdd

This commit is contained in:
Jean-Baptiste Dominguez 2018-07-16 15:52:33 +09:00
commit a4f0f88766
2 changed files with 2 additions and 6 deletions

View file

@ -1,6 +1,6 @@
'use strict';
angular.module('copayApp.controllers').controller('addressbookAddController', function($scope, $state, $stateParams, $timeout, $ionicHistory, gettextCatalog, addressbookService, popupService, configService, bitcoinCashJsService) {
angular.module('copayApp.controllers').controller('addressbookAddController', function($scope, $state, $stateParams, $timeout, $ionicHistory, gettextCatalog, addressbookService, popupService, configService, bitcoinCashJsService, platformInfo) {
var config = configService.getSync();
var defaults = configService.getDefaults();

View file

@ -8,11 +8,7 @@ angular.module('copayApp.controllers').controller('tabSendController', function(
$scope.walletSelectorTitleForce = true;
$scope.addContact = function() {
$state.go('tabs.settings').then(function() {
$state.go('tabs.addressbook').then(function() {
$state.go('tabs.addressbook.add');
});
});
$state.go('tabs.send.addressbook');
};
$scope.pasteClipboard = function() {