mirror of
https://github.com/FluxaMedia/fluxa.git
synced 2026-08-06 00:38:59 +00:00
TV's HomeScreen.kt now sources its row/billboard data from the same CatalogHomeStore + AndroidCatalogHomeDataSource that mobile's shared CMP Home already uses, instead of the TV-only rememberHomeCatalogState / rememberHomeBillboardState state holders. Row ordering, top-ten flags, action-row detection, and hero fallback resolution now live in AndroidCatalogHomeDataSource so both platforms share one source of truth. TvHomeRowSpec, HomeShelfRow, HomeHeroPanel, and TvMovieCard are untouched and still render raw Meta (that's pre-existing TV behavior, not a regression) - CatalogHomeDataSource.resolveMeta() bridges from the lightweight shared CatalogItemUiModel back to Meta at this boundary, the same pattern used for streams in AndroidDetailDataSource.resolveStream(). All existing focus- restoration logic (FocusRequester chains, scroll/focus persistence, hero-follows-focus) is preserved verbatim - only the state source changed. Compile-verified on both mobile and tv flavors; focus/D-pad behavior needs on-device verification, not testable in this environment. |
||
|---|---|---|
| .. | ||
| schemas | ||
| src | ||
| build.gradle.kts | ||
| compose-stability.conf | ||
| proguard-rules.pro | ||