;
This commit is contained in:
parent
b17517ede0
commit
6224f36ff6
7 changed files with 7 additions and 7 deletions
|
|
@ -1774,7 +1774,7 @@ angular.module('copayApp.controllers').controller('indexController', function($r
|
|||
});
|
||||
|
||||
$rootScope.$on('Local/EmailUpdated', function(event, email) {
|
||||
self.preferences.email = email
|
||||
self.preferences.email = email;
|
||||
});
|
||||
|
||||
lodash.each(['NewCopayer', 'CopayerUpdated'], function(eventName) {
|
||||
|
|
|
|||
|
|
@ -52,7 +52,7 @@ angular.module('copayApp.controllers').controller('preferencesAltCurrencyControl
|
|||
go.preferencesGlobal();
|
||||
$scope.$emit('Local/UnitSettingUpdated');
|
||||
walletService.updateRemotePreferences(profileService.walletClients, {}, function() {
|
||||
$log.debug('Remote preferences saved')
|
||||
$log.debug('Remote preferences saved');
|
||||
});
|
||||
$timeout(function() {
|
||||
$scope.$apply();
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ angular.module('copayApp.controllers').controller('preferencesLanguageController
|
|||
|
||||
walletService.updateRemotePreferences(profileService.getClients(), {},
|
||||
function() {
|
||||
$log.debug('Remote preferences saved')
|
||||
$log.debug('Remote preferences saved');
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
|
|||
|
|
@ -55,7 +55,7 @@ angular.module('copayApp.controllers').controller('preferencesUnitController',
|
|||
go.preferencesGlobal();
|
||||
$scope.$emit('Local/UnitSettingUpdated');
|
||||
walletService.updateRemotePreferences(profileService.getClients(), {}, function() {
|
||||
$log.debug('Remote preferences saved')
|
||||
$log.debug('Remote preferences saved');
|
||||
});
|
||||
$timeout(function() {
|
||||
$scope.$apply();
|
||||
|
|
|
|||
|
|
@ -212,7 +212,7 @@ angular.module('copayApp.services').factory('walletService', function($log, loda
|
|||
var config = configService.getSync().wallet.settings;
|
||||
|
||||
//prefs.email (may come from arguments)
|
||||
prefs.language = uxLanguage.getCurrentLanguage();;
|
||||
prefs.language = uxLanguage.getCurrentLanguage();
|
||||
prefs.unit = config.unitCode;
|
||||
|
||||
updateRemotePreferencesFor(clients, prefs, function(err) {
|
||||
|
|
|
|||
|
|
@ -55,7 +55,7 @@ describe('disclaimerController', function() {
|
|||
initController: true,
|
||||
noDisclaimer: true,
|
||||
}, done);
|
||||
})
|
||||
});
|
||||
|
||||
afterEach(function(done) {
|
||||
mocks.clear({}, done);
|
||||
|
|
|
|||
|
|
@ -222,7 +222,7 @@ mocks.init = function(fixtures, controllerName, opts, done) {
|
|||
should.not.exist(err, err);
|
||||
if (opts.noDisclaimer){
|
||||
return done();
|
||||
};
|
||||
}
|
||||
_profileService_.setDisclaimerAccepted(function() {
|
||||
if (!opts.initController)
|
||||
startController();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue