rm focusedClient

This commit is contained in:
Matias Alejo Garcia 2016-08-22 14:42:43 -03:00
commit d4f39abc9a
No known key found for this signature in database
GPG key ID: 02470DB551277AB3
9 changed files with 102 additions and 147 deletions

View file

@ -53,7 +53,6 @@ angular.module('copayApp.controllers').controller('copayersController',
};
$scope.deleteWallet = function() {
var wallet = profileService.focusedClient;
if ($scope.isCordova) {
navigator.notification.confirm(
delete_msg,

View file

@ -6,20 +6,6 @@ angular.module('copayApp.controllers').controller('tabHomeController',
self.glideraEnabled = configService.getSync().glidera.enabled;
// wallet list change
$rootScope.$on('Local/WalletListUpdated', function(event) {
self.walletSelection = false;
self.setWallets();
});
$rootScope.$on('Local/ColorUpdated', function(event) {
self.setWallets();
});
$rootScope.$on('Local/AliasUpdated', function(event) {
self.setWallets();
});
self.setWallets = function() {
$scope.wallets = profileService.getWallets();
};