fluxa/shared
KhooLy 311968075d Unify TV and mobile Detail navigation decisions onto DetailNavigationLogic
Extracts the "which stream/episode plays, is it cs3, how much resume
progress" decision into a pure DetailNavigationLogic object in
commonMain. DetailStore (used by mobile's shared CMP Detail screen)
now delegates to it instead of carrying its own copy.

DetailRoute.kt (Android TV's legacy Detail route - mobile no longer
reaches this file after the earlier Detail route migration) now calls
the same DetailNavigationLogic functions instead of its own hand-
rolled duplicate of the same branching, so both platforms make this
decision through one code path. TvDetailScreenContent's rendering is
untouched - it still reads DetailViewModel directly, since it needs
richer domain data (MetaDetail/Video/Stream) than the lightweight
shared Detail UI models carry.

Preserves the movie-vs-series distinction from the original TV logic:
Play button on a movie always targets a null video id (no accidental
resume-progress carryover), matching the legacy behavior exactly.
2026-07-14 13:51:34 +03:00
..
src Unify TV and mobile Detail navigation decisions onto DetailNavigationLogic 2026-07-14 13:51:34 +03:00
build.gradle.kts Fix Apple framework export and simulator architecture 2026-07-13 04:22:39 +03:00