Commit 815a58f7 authored by 冷佳娟's avatar 冷佳娟 💪

HRB-3175 新增 kilograms 單位

parent 0fefa672
Pipeline #60 failed with stages
......@@ -251,6 +251,9 @@
if([unitString isEqualToString:@"mgPerdL"]){
theUnit = [HKUnit unitFromString:@"mg/dL"];
}
if([unitString isEqualToString:@"kilograms"]){
theUnit = [HKUnit gramUnitWithMetricPrefix:HKMetricPrefixKilo];
}
if(theUnit == nil){
theUnit = defaultValue;
......
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