use unit name
This commit is contained in:
parent
620cfc2cc9
commit
ca5a1b6305
1 changed files with 1 additions and 2 deletions
|
|
@ -175,11 +175,10 @@ angular.module('copayApp.controllers').controller('indexController', function($r
|
|||
|
||||
// Update this JIC.
|
||||
var config = configService.getSync().wallet.settings;
|
||||
self.unitName = config.unitName;
|
||||
|
||||
//prefs.email (may come from arguments)
|
||||
prefs.language = self.defaultLanguageIsoCode;
|
||||
prefs.unit = self.unitName.toLowerCase();
|
||||
prefs.unit = config.unitCode;
|
||||
|
||||
var clients = [];
|
||||
if (opts.saveAll) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue