mirror of
https://github.com/FluxaMedia/fluxa.git
synced 2026-08-03 23:46:54 +00:00
Both only ever read id/type/seasonsCount from the 39-field Meta model, in violation of the leaf-UI-gets-narrow-models rule in CLAUDE.md. Adds seasonsCount to the existing PlayerContentUiModel (already computed once via meta.toPlayerContentUiModel() at the top of PlayerScreenContent) and threads that through instead. The other Player files that take a Meta parameter (PlayerLoadingEffects, PlayerTrackMemoryEffects, PlayerPipAndEpisodes, etc.) are LaunchedEffect wrappers that hand Meta straight to ViewModel/repository calls for persistence and scrobbling — that's the "effects/coordinators" layer CLAUDE.md explicitly allows to hold domain objects, not a violation. |
||
|---|---|---|
| .. | ||
| src | ||
| build.gradle.kts | ||