fix history sync
This commit is contained in:
parent
1e9b99981e
commit
232b78ee8c
12 changed files with 96 additions and 73 deletions
|
|
@ -55,6 +55,7 @@ angular.module('copayApp.controllers').controller('preferencesController',
|
|||
return;
|
||||
}
|
||||
profileService.setPrivateKeyEncryptionFC(password, function() {
|
||||
$rootScope.$emit('Local/NewEncryptionSetting');
|
||||
$scope.encrypt = true;
|
||||
});
|
||||
});
|
||||
|
|
@ -66,6 +67,7 @@ angular.module('copayApp.controllers').controller('preferencesController',
|
|||
return;
|
||||
}
|
||||
profileService.disablePrivateKeyEncryptionFC(function(err) {
|
||||
$rootScope.$emit('Local/NewEncryptionSetting');
|
||||
if (err) {
|
||||
$scope.encrypt = true;
|
||||
$log.error(err);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue