mirror of
https://github.com/JustinZeus/Wholphin.git
synced 2026-07-08 23:51:21 +02:00
Merge branch 'main' into develop/jellyseerr
This commit is contained in:
commit
171e066637
2 changed files with 5 additions and 7 deletions
|
|
@ -110,12 +110,10 @@ fun SeriesOverviewContent(
|
||||||
|
|
||||||
val seasonStr = stringResource(R.string.tv_season)
|
val seasonStr = stringResource(R.string.tv_season)
|
||||||
val tabs =
|
val tabs =
|
||||||
remember(seasons) {
|
seasons.map { season ->
|
||||||
seasons.mapNotNull {
|
season?.name
|
||||||
it?.name
|
?: season?.data?.indexNumber?.let { "$seasonStr $it" }
|
||||||
?: it?.data?.indexNumber?.let { "$seasonStr $it" }
|
?: ""
|
||||||
?: ""
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
val focusRequesters = remember(seasons) { List(seasons.size) { FocusRequester() } }
|
val focusRequesters = remember(seasons) { List(seasons.size) { FocusRequester() } }
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -182,7 +182,7 @@ fun PlaybackDialog(
|
||||||
// }
|
// }
|
||||||
},
|
},
|
||||||
onSelectChoice = { _, choice ->
|
onSelectChoice = { _, choice ->
|
||||||
onPlaybackActionClick.invoke(PlaybackAction.ToggleCaptions(choice.index))
|
onPlaybackActionClick.invoke(PlaybackAction.ToggleAudio(choice.index))
|
||||||
},
|
},
|
||||||
gravity = Gravity.END,
|
gravity = Gravity.END,
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue