Fix addressbookAdd
This commit is contained in:
parent
8442248e96
commit
a4f0f88766
2 changed files with 2 additions and 6 deletions
|
|
@ -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();
|
||||
|
|
|
|||
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue