Return automatically after set unit/lang/alt/color
This commit is contained in:
parent
308616c254
commit
370fbd5924
9 changed files with 31 additions and 18 deletions
|
|
@ -1,7 +1,7 @@
|
|||
'use strict';
|
||||
|
||||
angular.module('copayApp.controllers').controller('preferencesLanguageController',
|
||||
function($scope, $log, $timeout, configService, uxLanguage) {
|
||||
function($scope, $log, $timeout, configService, uxLanguage, go) {
|
||||
|
||||
this.availableLanguages = uxLanguage.getLanguages();
|
||||
|
||||
|
|
@ -17,6 +17,7 @@ angular.module('copayApp.controllers').controller('preferencesLanguageController
|
|||
|
||||
configService.set(opts, function(err) {
|
||||
if (err) $log.warn(err);
|
||||
go.preferencesGlobal();
|
||||
$scope.$emit('Local/LanguageSettingUpdated');
|
||||
$timeout(function() {
|
||||
$scope.$apply();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue