normalize mg/dl mg/dL
This commit is contained in:
parent
9f1bbd35bd
commit
9cd8602f83
1 changed files with 2 additions and 2 deletions
|
@ -137,11 +137,11 @@ public class NSProfile {
|
|||
if (profile != null) {
|
||||
try {
|
||||
units = profile.getString("units");
|
||||
return units;
|
||||
return units.toLowerCase();
|
||||
} catch (JSONException e) {
|
||||
log.error("Profile not found. Failing over to main JSON");
|
||||
try {
|
||||
json.getString("units");
|
||||
return json.getString("units").toLowerCase();
|
||||
} catch (JSONException e1) {
|
||||
e1.printStackTrace();
|
||||
Crashlytics.log("Profile failover failed too");
|
||||
|
|
Loading…
Reference in a new issue