rm focusedClient
This commit is contained in:
parent
a702b6e77e
commit
d4f39abc9a
9 changed files with 102 additions and 147 deletions
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue