mirror of https://github.com/BTCPrivate/copay.git
Fix selected languages from preferences
This commit is contained in:
parent
cb63fd8f87
commit
f28cbae100
|
@ -13,7 +13,7 @@
|
|||
ng-repeat="lang in prefLang.availableLanguages"
|
||||
ng-click="prefLang.save(lang.isoCode)" class="line-b p20 size-14">
|
||||
<span>{{lang.name}}</span>
|
||||
<i class="fi-check size-16 right" ng-show="index.defaultLanguageIsoCode == lang.isoCode"></i>
|
||||
<i class="fi-check size-16 right" ng-show="prefLang.currentLanguage == lang.isoCode"></i>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
|
|
@ -4,6 +4,7 @@ angular.module('copayApp.controllers').controller('preferencesLanguageController
|
|||
function($scope, $log, $timeout, configService, uxLanguage, go) {
|
||||
|
||||
this.availableLanguages = uxLanguage.getLanguages();
|
||||
this.currentLanguage = uxLanguage.getCurrentLanguage();
|
||||
|
||||
this.save = function(newLang) {
|
||||
|
||||
|
|
Loading…
Reference in New Issue