mirror of
https://github.com/JustinZeus/Wholphin.git
synced 2026-11-06 02:40:58 +01:00
Add option to never show next up episodes (#1257)
## Description Adds an option to never show next up. This means when an episode completes, the app always returns to the previous page instead of suggesting the next episode. ### Related issues Closes #1100 ### Testing Emulator ## Screenshots N/A ## AI or LLM usage None
This commit is contained in:
parent
b5422fe82b
commit
b3d630f272
4 changed files with 10 additions and 5 deletions
|
|
@ -826,8 +826,8 @@ sealed interface AppPreference<Pref, T> {
|
|||
},
|
||||
displayValues = R.array.player_backend_options,
|
||||
subtitles = R.array.player_backend_options_subtitles,
|
||||
indexToValue = { PlayerBackend.forNumber(it) },
|
||||
valueToIndex = { it.number },
|
||||
indexToValue = { PlayerBackend.forNumber(it) ?: PlayerBackend.EXO_PLAYER },
|
||||
valueToIndex = { if (it != PlayerBackend.UNRECOGNIZED) it.number else PlayerBackend.EXO_PLAYER.number },
|
||||
)
|
||||
|
||||
val ExoPlayerSettings =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue