+31
−14
+1
−0
Loading
Reproduced the report with a real feed: 715 episodes persist correctly in the
DB under the right podcast id, so the issue is view-side reuse, not storage.
- Load episodes via a shared helper from `.task(id: podcast.id)`.
- Reload from the store on every `.onAppear` (non-clobbering: only updates when
episodes are found) so a reused detail view shows them on return.
- Give the detail an explicit `.id(podcast.id)` so switching podcasts yields a
fresh view. Remove the temporary -uiSeedReal debug hook.
51 package tests green; iOS + macOS build; verified the detail shows the 715
episodes (and the HTML description renders) in the simulator.
Co-Authored-By:
Claude <claude@anthropic.com>