fix store config
This commit is contained in:
parent
7f6b41e11d
commit
e38f9a4611
5 changed files with 14 additions and 8 deletions
|
|
@ -29,7 +29,10 @@ angular.module('copayApp.controllers').controller('preferencesColorController',
|
|||
opts.colorFor[walletId] = color;
|
||||
|
||||
configService.set(opts, function(err) {
|
||||
if (err) console.log(err);
|
||||
if (err) {
|
||||
$scope.$emit('Local/DeviceError', err);
|
||||
return;
|
||||
}
|
||||
self.color = color;
|
||||
$scope.$emit('Local/ColorUpdated');
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue