Skip to content

Conversation

@marionbarker
Copy link
Contributor

Purpose:

This PR fixes an intermittent bolus progress display error reported in these issues

@itsmojo identified root cause for this intermittent display error and passed on a proposed fix for the main branch which is found in this PR.

If a bolus progress is being displayed when the app is put into background and then the app is opened in the middle of a bolus, the progress bar shows a stale value of the expected total units; the stale value is the total units from the last time the bolus progress bar was displayed.

I tested the released Loop 3.4.4 using this test method and demonstrated I could trigger the intermittent display error reliably.

Test

This PR was applied to main. The same test method mentioned above was used and every instance of opening the app in the middle of a bolus showed the correct value for the total bolus units.

@marionbarker marionbarker changed the title update progressCell for bolus display update progressCell for bolus display for main branch Nov 17, 2024
@marionbarker marionbarker requested a review from ps2 March 21, 2025 14:06
@marionbarker
Copy link
Contributor Author

Closing this one to make a clean PR to dev branch.

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.

1 participant