diff --git a/src/js/controllers/preferences.js b/src/js/controllers/preferences.js index e79a9063b..f5f45a481 100644 --- a/src/js/controllers/preferences.js +++ b/src/js/controllers/preferences.js @@ -1,7 +1,7 @@ 'use strict'; angular.module('copayApp.controllers').controller('preferencesController', - function($scope, $rootScope, $state, $timeout, $log, $ionicHistory, $ionicPlatform, configService, profileService, fingerprintService, walletService, platformInfo, externalLinkService, gettextCatalog, $ionicNavBarDelegate) { + function($scope, $rootScope, $timeout, $log, $ionicHistory, configService, profileService, fingerprintService, walletService, platformInfo, externalLinkService, gettextCatalog, $ionicNavBarDelegate) { var wallet; var walletId; diff --git a/src/js/controllers/wallet-details.controller.js b/src/js/controllers/wallet-details.controller.js index 82f8dc5b1..429420741 100644 --- a/src/js/controllers/wallet-details.controller.js +++ b/src/js/controllers/wallet-details.controller.js @@ -115,10 +115,6 @@ angular.module('copayApp.controllers').controller('walletDetailsController', fun }); }; - $scope.openWalletSettings = function() { - $state.go('tabs.preferences', {'walletId': $scope.wallet.id, 'backToDetails': true}); - }; - $scope.openSearchModal = function() { $scope.color = $scope.wallet.color; $scope.isSearching = true; diff --git a/www/views/preferences.html b/www/views/preferences.html index a25270a35..3ee68dc11 100644 --- a/www/views/preferences.html +++ b/www/views/preferences.html @@ -3,7 +3,7 @@ {{'Wallet Settings'|translate}} - + diff --git a/www/views/tab-settings.html b/www/views/tab-settings.html index dd379903d..7b2578383 100644 --- a/www/views/tab-settings.html +++ b/www/views/tab-settings.html @@ -100,22 +100,6 @@ - - - - - - - - - - - - - - - -
{{'Integrations' | translate}}