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.
|
// Update this JIC.
|
||||||
var config = configService.getSync().wallet.settings;
|
var config = configService.getSync().wallet.settings;
|
||||||
self.unitName = config.unitName;
|
|
||||||
|
|
||||||
//prefs.email (may come from arguments)
|
//prefs.email (may come from arguments)
|
||||||
prefs.language = self.defaultLanguageIsoCode;
|
prefs.language = self.defaultLanguageIsoCode;
|
||||||
prefs.unit = self.unitName.toLowerCase();
|
prefs.unit = config.unitCode;
|
||||||
|
|
||||||
var clients = [];
|
var clients = [];
|
||||||
if (opts.saveAll) {
|
if (opts.saveAll) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue