Skip to content

Commit

Permalink
fix: film screen panel behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
rhenwinch committed Feb 5, 2024
1 parent 97a468b commit ff3b1b4
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,10 @@ fun FilmScreen(
},
onWatchlistClick = viewModel::onWatchlistButtonClick,
goBack = navigator::goBack,
onSeeMoreEpisodes = { isEpisodesPanelOpen = true }
onSeeMoreEpisodes = {
isOverviewShown = false
isEpisodesPanelOpen = true
}
)
}
}
Expand Down Expand Up @@ -424,6 +427,7 @@ fun FilmScreen(
isOverviewShown = false
},
onHidePanel = {
isOverviewShown = true
isEpisodesPanelOpen = false

// Focus on episode button.
Expand Down

0 comments on commit ff3b1b4

Please sign in to comment.