Skip to content

Conversation

@bjorkert
Copy link
Contributor

let data = result!
and
let latestDate = data[0].date

Would crash if data is nil when error is nil, I did refactor the code to avoid a potential crash here in response to: #303

Also found some dead code that is now removed.

Copy link
Collaborator

@marionbarker marionbarker left a comment

Choose a reason for hiding this comment

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

Did code review - looks nominal.
Built and tested with Loop and Trio users, with and without Dexcom share.

@marionbarker marionbarker merged commit b37d8d6 into dev Jun 25, 2024
@marionbarker marionbarker deleted the share branch July 11, 2024 23:11
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.

3 participants