Skip to content

Fix build: snooze-start key read via the protocol#61

Merged
Sjoerd-Bo3 merged 1 commit into
Build-Experimentfrom
fix/adjustment-compile
Jul 19, 2026
Merged

Fix build: snooze-start key read via the protocol#61
Sjoerd-Bo3 merged 1 commit into
Build-Experimentfrom
fix/adjustment-compile

Conversation

@Sjoerd-Bo3

Copy link
Copy Markdown
Owner

Summary

Build-Experiment doesn't compile after the last merge — one error:

HomeRootView+MealPanel.swift:50: type 'any TrioAlertManager' has no member 'snoozeFromDateKey'

TrioAlertManager is a protocol; the snoozeFromDateKey static lives on the concrete BaseTrioAlertManager, so referencing it through the protocol didn't resolve. The alarms pill now reads the snooze-start with the same UserDefaults key string the writer (applySnooze) uses — no type reference needed.

Verification

  • compile_check runs on this branch.

Generated by Claude Code

TrioAlertManager is a protocol; the snoozeFromDateKey static lives on the concrete
BaseTrioAlertManager, so 'TrioAlertManager.snoozeFromDateKey' didn't resolve. Read
the value with the same UserDefaults key string the writer uses.
@Sjoerd-Bo3
Sjoerd-Bo3 merged commit 878a068 into Build-Experiment Jul 19, 2026
1 check passed
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.

2 participants