Add flashlight button to cannula insertion checker screen for Omnipod #153
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Feature
When replacing a spent Omnipod, at the cannula insertion confirmation screen, I almost always end up opening the flashlight to illuminate the Omnipod display window in order to better see the blue cannula. Doing so requires going out-of-app, which can cause problems. I've come to rely on this more and more as I've gotten older and my eyes have gotten worse, especially after having to get reading glasses.
I'd like to add a button to the check cannula screen that allows the flashlight to be toggled on and off.
The code checks for flashlight availability before displaying the button, and offers toggle functionality. Further, if the user exits the view before turning off the flashlight, it is turned off automatically.
These are emulator screenshots. I am not a UX designer, and would be happy to have help with UX.
User Impact
Tens of millions of people the USA alone over the age of 45 have diabetes. Over 90% of adults over age 45 have presbyopia (age related difficulty focusing on near objects). My personal, anecdotal experience requires some assistance checking the cannula in darker conditions because of presbyopia, which millions of other diabetes patients experience as well. This change aids me significantly.