better refresh in walletDetails
This commit is contained in:
parent
716b341dc4
commit
7fd7c47f18
6 changed files with 6 additions and 52 deletions
|
|
@ -95,17 +95,6 @@ angular.module('copayApp.controllers').controller('advancedSettingsController',
|
|||
});
|
||||
};
|
||||
|
||||
$scope.frequentlyUsedChange = function() {
|
||||
var opts = {
|
||||
frequentlyUsed: {
|
||||
enabled: $scope.frequentlyUsedEnabled.value
|
||||
}
|
||||
};
|
||||
configService.set(opts, function(err) {
|
||||
if (err) $log.debug(err);
|
||||
});
|
||||
};
|
||||
|
||||
$scope.$on("$ionicView.beforeEnter", function(event, data) {
|
||||
updateConfig();
|
||||
});
|
||||
|
|
|
|||
|
|
@ -352,7 +352,7 @@ angular.module('copayApp.controllers').controller('walletDetailsController', fun
|
|||
|
||||
listeners = [
|
||||
$rootScope.$on('bwsEvent', function(e, walletId) {
|
||||
if (walletId == $scope.wallet.id)
|
||||
if (walletId == $scope.wallet.id && e.type!='NewAddress')
|
||||
$scope.updateAll();
|
||||
}),
|
||||
$rootScope.$on('Local/TxAction', function(e, walletId) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue