Moves the global preferences to the sidebar
This commit is contained in:
parent
6a12828eae
commit
308616c254
16 changed files with 177 additions and 130 deletions
|
|
@ -1,7 +1,7 @@
|
|||
'use strict';
|
||||
|
||||
angular.module('copayApp.controllers').controller('preferencesLanguageController',
|
||||
function($scope, $log, $timeout, configService, go, uxLanguage) {
|
||||
function($scope, $log, $timeout, configService, uxLanguage) {
|
||||
|
||||
this.availableLanguages = uxLanguage.getLanguages();
|
||||
|
||||
|
|
@ -19,7 +19,7 @@ angular.module('copayApp.controllers').controller('preferencesLanguageController
|
|||
if (err) $log.warn(err);
|
||||
$scope.$emit('Local/LanguageSettingUpdated');
|
||||
$timeout(function() {
|
||||
go.preferences();
|
||||
$scope.$apply();
|
||||
}, 100);
|
||||
});
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue