Skip to content

Fix crashes from forced casts on explicit-null Nightscout fields; copied from PR #794 - #797

Merged
marionbarker merged 2 commits into
devfrom
fix/devicestatus-forced-cast-crash-dev
Oct 28, 2026
Merged

marionbarker merged 2 commits into
devfrom
fix/devicestatus-forced-cast-crash-dev

Conversation

@marionbarker

Copy link
Copy Markdown
Collaborator

Refer to PR #794 for the explanation. This fixes the places were forced cast are still available except for one place in a test.
The initial commit simply transfers the code modification from #794 after merging dev into that branch and resolving code conflicts.

@marionbarker marionbarker changed the title Modifications from PR #794 Fix crashes from forced casts on explicit-null Nightscout fields; copied from PR #794 Oct 27, 2026
@marionbarker

Copy link
Copy Markdown
Collaborator Author

Test

✅ successful test on an iPhone 15 pro

@codebymini codebymini left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 LGTM

@marionbarker
marionbarker merged commit 836fe8f into dev Oct 28, 2026
1 check passed
@marionbarker
marionbarker deleted the fix/devicestatus-forced-cast-crash-dev branch October 28, 2026 19:13
snickerdoodleparent pushed a commit to snickerdoodle-co/LoopFollow that referenced this pull request Nov 4, 2026
Brings in the Apple Watch app (loopandlearn#785), the end alarms' early warning (loopandlearn#721), the home
screen TIR band with its shared period (loopandlearn#774), the range thresholds in one place with
Extended Tight Range / TING 63–140 mg/dL (loopandlearn#791), the DST fix for the stats day loops
(loopandlearn#795) and the fixes for explicit-null Nightscout fields (loopandlearn#797).

Kept from this branch: the dynamic glucose colors (TIR band, graph, Live Activity) with
the Target setting, the Weekend Profile overrides and remote commands, the BFU check
before alarms, the TIR band shown by default.

The older watch app (LoopFollowWatch Watch App, the phone's WatchComplication and
WatchConnectivityManager) gives way to loopandlearn#785's. The Weekend Profile commands use
ReturnNotificationInfo.loopFollow(), as loopandlearn#785 moved the helper.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UUzqfqfsM8BQYJ2yoRaLz8
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.

3 participants