-
Notifications
You must be signed in to change notification settings - Fork 4
nate/fix/LOOP-1927/manual-glucose-entry #244
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
ps2
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Just a naming suggestion.
LoopKitUI/CGMManagerUI.swift
Outdated
| var cgmLifecycleProgress: DeviceLifecycleProgress? { get } | ||
|
|
||
| /// gets the type of a glucose sample using the CGM manager managed glucose thresholds | ||
| func glucoseValueType(for glucose: GlucoseSampleValue) -> GlucoseValueType? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"ValueType" is quite vague. Looking at what GlucoseValueType contains, maybe GlucoseRangeCategory?
|
@ps2 Updated with the suggested naming. Also, included a |
ps2
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
https://tidepool.atlassian.net/browse/LOOP-1927
require the CGM manager to interpret glucose sample using its managed user thresholds