Skip to content

Conversation

@itsmojo
Copy link
Contributor

@itsmojo itsmojo commented Nov 11, 2025

  • Remove incorrect resume event creation in programInitialBasalSchedule()
  • Finalize resume & suspend "doses" independently on matching delivery status
  • Update dosesToStore var to no longer include now unneeded unfinalizedSuspend
  • Use date instead of Date() in updateDeliveryStatus() for consistency
  • Use self.lastSync instead of lastSync for better clarity & consistency
  • Update basalDeliveryState to treat a non-active pod just like no pod

+ Remove incorrect resume event creation in programInitialBasalSchedule()
+ Finalize resume & suspend "doses" independently on matching delivery status
+ Update dosesToStore var to no longer include now unneeded unfinalizedSuspend
+ Use date instead of Date() in updateDeliveryStatus() for consistency
+ Use self.lastSync instead of lastSync for better clarity & consistency
+ Update basalDeliveryState to treat a non-active pod just like no pod
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.

Approve from code review. These changes were tested in the parallel OmniBLE PR 154.

The changes were compared side-by-side and are identical between OmniKit and OmniBLE.

The Loop app was built with both OmniBLE PR 154 and OmniKit PR 61 versions of code.

  • There was no problem with the build and the OmniKit pump could be selected.

The Trio app (0.6.0.11) was built with both OmniBLE PR 154 and OmniKit PR 61 versions of code.

  • There was no problem with the build and the OmniKit pump could be selected.

@marionbarker marionbarker merged commit b6c5e03 into LoopKit:main Nov 19, 2025
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