Commit a28741e4 authored by Evgenii Evstropov's avatar Evgenii Evstropov

change default units to metrics system

parent c4a2d59d
......@@ -19,7 +19,7 @@
HKUnit *unit = [RCTAppleHealthKit hkUnitFromOptions:input];
if(unit == nil){
unit = [HKUnit poundUnit];
unit = [HKUnit gramUnit];
}
[self fetchMostRecentQuantitySampleOfType:weightType
......@@ -154,7 +154,7 @@
HKUnit *unit = [RCTAppleHealthKit hkUnitFromOptions:input];
if(unit == nil){
unit = [HKUnit inchUnit];
unit = [HKUnit meterUnit];
}
[self fetchMostRecentQuantitySampleOfType:heightType
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment