mirror of
https://github.com/JustinZeus/Wholphin.git
synced 2026-07-08 23:51:21 +02:00
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:
parent
d5192abf62
commit
8111f8bab2
1 changed files with 4 additions and 6 deletions
|
|
@ -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() } }
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue