Describe the bug
I found a reproducible UI issue in the Add Carb Entry screen.
When I first select a medium food emoji, the absorption time is correctly set to 3 hours.
If I then delete the food selection / carb entry content without closing the screen, and afterwards select a slow food emoji (pizza category), the absorption time remains at 3 hours instead of changing to 5 hours.
If I open a completely new Add Carb Entry screen and select the slow emoji first, it correctly sets 5 hours.
This suggests that the absorption time state is not reset when clearing the current carb entry form.
Attach an Issue Report
Tap the Loop settings icon on the bottom of the screen, then tap Issue Report and attach it to this ticket.
To Reproduce
Open Add Carb Entry
Select a medium emoji → absorption time becomes 3h
Clear the food / carb selection without closing the screen
Select a slow emoji
Observe that absorption time stays 3h instead of 5h
Expected behavior
Slow emoji should set absorption time to 5h
Screenshots
If applicable, add screenshots to help explain your problem.
Phone
- Hardware: [Iphone 16]
- OS Version: [iOS 18.7]
Loop Version
- Version Number: [3.12.1 (19)]
- Repo: [Loop]
CGM
- Device: [Dexcom One+]
- Manager app: [Dexcom App]
Pump
Additional context
Actual behavior:
Absorption time remains 3h
Impact:
Potential incorrect carb absorption timing if the user does not manually verify the field before saving.
Describe the bug
I found a reproducible UI issue in the Add Carb Entry screen.
When I first select a medium food emoji, the absorption time is correctly set to 3 hours.
If I then delete the food selection / carb entry content without closing the screen, and afterwards select a slow food emoji (pizza category), the absorption time remains at 3 hours instead of changing to 5 hours.
If I open a completely new Add Carb Entry screen and select the slow emoji first, it correctly sets 5 hours.
This suggests that the absorption time state is not reset when clearing the current carb entry form.
Attach an Issue Report
Tap the Loop settings icon on the bottom of the screen, then tap Issue Report and attach it to this ticket.
To Reproduce
Open Add Carb Entry
Select a medium emoji → absorption time becomes 3h
Clear the food / carb selection without closing the screen
Select a slow emoji
Observe that absorption time stays 3h instead of 5h
Expected behavior
Slow emoji should set absorption time to 5h
Screenshots
If applicable, add screenshots to help explain your problem.
Phone
Loop Version
CGM
Pump
Additional context
Actual behavior:
Absorption time remains 3h
Impact:
Potential incorrect carb absorption timing if the user does not manually verify the field before saving.