Skip to content

Conversation

@ps2
Copy link

@ps2 ps2 commented Jun 21, 2023

No description provided.

@ps2 ps2 requested a review from dabear June 21, 2023 01:07

public let isOnboarded = true // No distinction between created and onboarded

private var alertsUnitPreference = DisplayGlucosePreference(displayGlucoseUnit: .milligramsPerDeciliter)
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just an initial default; Loop will call unitDidChange with the user's preferred units right after initialization.

}

self.glucoseInfoObservable.date = self.longDateFormatter.string(from: d.timestamp)
self.glucoseInfoObservable.glucose = d.quantity
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deferring formatting until display time.

@ps2
Copy link
Author

ps2 commented Jul 2, 2023

Closing as #3 has included these changes.

@ps2 ps2 closed this Jul 2, 2023
@ps2 ps2 deleted the ps2/glucose-display-units branch September 8, 2023 20:39
ps2 pushed a commit that referenced this pull request Sep 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants