Commit c6a6133
Wrap widget extension LiveActivity files with os(iOS) guard
HADynamicIslandView, HALockScreenView, and HALiveActivityConfiguration
all import ActivityKit directly. Wrap each file in
#if os(iOS) && !targetEnvironment(macCatalyst).
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 297289e commit c6a6133
3 files changed
Lines changed: 6 additions & 0 deletions
File tree
- Sources/Extensions/Widgets/LiveActivity
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | 3 | | |
3 | 4 | | |
| |||
161 | 162 | | |
162 | 163 | | |
163 | 164 | | |
| 165 | + | |
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | 3 | | |
3 | 4 | | |
| |||
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| 25 | + | |
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | 3 | | |
3 | 4 | | |
| |||
83 | 84 | | |
84 | 85 | | |
85 | 86 | | |
| 87 | + | |
0 commit comments