refactor settings tab
This commit is contained in:
parent
9e70821c4c
commit
41cc509d47
21 changed files with 462 additions and 252 deletions
|
|
@ -1,10 +1,12 @@
|
|||
'use strict';
|
||||
|
||||
angular.module('copayApp.controllers').controller('preferencesLanguageController',
|
||||
function($scope, $log, configService, profileService, uxLanguage, walletService, go) {
|
||||
function($scope, $log, $state, configService, profileService, uxLanguage, walletService, go) {
|
||||
|
||||
$scope.availableLanguages = uxLanguage.getLanguages();
|
||||
$scope.currentLanguage = uxLanguage.getCurrentLanguage();
|
||||
$scope.init = function() {
|
||||
$scope.availableLanguages = uxLanguage.getLanguages();
|
||||
$scope.currentLanguage = uxLanguage.getCurrentLanguage();
|
||||
}
|
||||
|
||||
$scope.save = function(newLang) {
|
||||
var opts = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue