fix: always navigate to Series screen when exiting playback from Episode

Instead of just popping the EpisodeRoute (which could land on Home if
opened from ContinueWatching), pop and push a SeriesRoute so playback
exit consistently returns to the SeriesScreen.
This commit is contained in:
2026-03-03 21:26:03 +01:00
parent 12fdf977a4
commit cf078c760e
2 changed files with 10 additions and 1 deletions

View File

@@ -69,7 +69,7 @@ fun EpisodeScreen(
episode = episode.value!!,
downloadState = downloadState.value,
onBack = viewModel::onBack,
onPlaybackStarted = viewModel::onBack,
onPlaybackStarted = viewModel::onPlaybackStarted,
onDownloadClick = onDownloadClick,
modifier = modifier
)