From 8111f8bab2cb81bae84a594a31e3a016918c55f7 Mon Sep 17 00:00:00 2001 From: Justin Caveda Date: Mon, 12 Jan 2026 14:33:02 -0600 Subject: [PATCH] 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 --- .../wholphin/ui/detail/series/SeriesOverviewContent.kt | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/app/src/main/java/com/github/damontecres/wholphin/ui/detail/series/SeriesOverviewContent.kt b/app/src/main/java/com/github/damontecres/wholphin/ui/detail/series/SeriesOverviewContent.kt index 98698826..3144e3f0 100644 --- a/app/src/main/java/com/github/damontecres/wholphin/ui/detail/series/SeriesOverviewContent.kt +++ b/app/src/main/java/com/github/damontecres/wholphin/ui/detail/series/SeriesOverviewContent.kt @@ -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() } }