Fix translate option
This commit is contained in:
parent
764caffd74
commit
140440b224
8 changed files with 62 additions and 47 deletions
|
|
@ -48,11 +48,6 @@ angular.module('copayApp.controllers').controller('preferencesController',
|
|||
}
|
||||
});
|
||||
|
||||
this.getDefaultLanguageName = function(availableLanguages) {
|
||||
var defaultLanguage = config.wallet.settings.defaultLanguage || 'en';
|
||||
return lodash.result(lodash.find(availableLanguages, { 'isoCode': defaultLanguage }), 'name');
|
||||
};
|
||||
|
||||
$scope.$on('$destroy', function() {
|
||||
unwatch();
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue