lowercase unit name

This commit is contained in:
Matias Alejo Garcia 2015-06-30 18:11:58 -03:00
commit 083efc3232

View file

@ -178,7 +178,7 @@ angular.module('copayApp.controllers').controller('indexController', function($r
//prefs.email (may come from arguments)
prefs.language = self.defaultLanguageIsoCode;
prefs.unit = self.unitName;
prefs.unit = self.unitName.toLowerCase();
var clients = [];
if (opts.saveAll) {