Repository navigation
Color the Live Activity's open loop icon by glucose age - #2674
Merged
Merged
Conversation
While a manual temp basal runs the loop is shown open, but the Live Activity (lock screen, Dynamic Island, watch Smart Stack) still colored the icon by the last completed loop, which stops advancing, so it turned red. When the loop is open, color it by the age of the latest glucose instead, like the status HUD and widget.
dabear
pushed a commit
to bjorninge-no-personal/LoopPebble
that referenced
this pull request
Nov 9, 2026
LoopKit#2667, LoopKit#2671, LoopKit#2673 and LoopKit#2674. One conflict in AlertManager's retraction: LoopKit#2673's per-alert stop of the in-app alert sound, then the watch plugins hear of the retraction as before.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
While a manual temp basal runs, #2649 shows the loop as open, but the Live Activity (lock screen, Dynamic Island and the watch Smart Stack) still colored the icon by the last completed loop. That stops advancing during a manual temp basal, so the open loop icon turned red while the status HUD showed it green (reported on Zulip in #development > Loop next-dev).
When the loop is open, color the icon by the age of the latest glucose reading instead, so it stays green while readings arrive and still turns yellow/red if they stop.