Fix season numbers not appearing when scrolling (#679)

**Description**

Fixes a regression where season numbers in the tab strip were invisible
when scrolling through long series (15+ seasons).

**Related issues**

Fixes #677

**AI/LLM usage**

Used Claude Code to analyze diffs from recent commits in order to find
which commit caused the regression.

---------

Co-authored-by: Damontecres <damontecres@gmail.com>
This commit is contained in:
Justin Caveda 2026-01-12 14:33:02 -06:00 committed by GitHub
parent d5192abf62
commit 8111f8bab2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -110,12 +110,10 @@ fun SeriesOverviewContent(
val seasonStr = stringResource(R.string.tv_season)
val tabs =
remember(seasons) {
seasons.mapNotNull {
it?.name
?: it?.data?.indexNumber?.let { "$seasonStr $it" }
?: ""
}
seasons.map { season ->
season?.name
?: season?.data?.indexNumber?.let { "$seasonStr $it" }
?: ""
}
val focusRequesters = remember(seasons) { List(seasons.size) { FocusRequester() } }