mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-07-21 21:34:15 +00:00
fix language switching
This commit is contained in:
parent
a47a32dbd6
commit
c4e8de2ee0
1 changed files with 1 additions and 1 deletions
|
|
@ -40,7 +40,7 @@ habitrpg.controller('SettingsCtrl',
|
|||
$rootScope.$on('userSynced', function(){
|
||||
location.reload();
|
||||
});
|
||||
User.set('preferences.language', $scope.language);
|
||||
User.set('preferences.language', $scope.language.code);
|
||||
}
|
||||
|
||||
$scope.reroll = function(){
|
||||
|
|
|
|||
Loading…
Reference in a new issue