Skip to content

fix: hide redundant movie title text in pause overlay when clearlogo is present#414

Open
EierKopZA wants to merge 2 commits into
ProdigyV21:mainfrom
EierKopZA:fix/pause-overlay-movie-title-clearlogo
Open

fix: hide redundant movie title text in pause overlay when clearlogo is present#414
EierKopZA wants to merge 2 commits into
ProdigyV21:mainfrom
EierKopZA:fix/pause-overlay-movie-title-clearlogo

Conversation

@EierKopZA

Copy link
Copy Markdown
Contributor

The bug:
In PlayerMetadataChrome, the composable showed the title text below the clearlogo whenever both existed — regardless of media type. For movies, displayTitle is the movie name (e.g. "The Dark Knight"), which is redundant with the clearlogo branding.

The fix:
Added mediaType == MediaType.TV to the condition at line 5294, so the secondary title text only appears for TV shows where displayTitle is the episode title (e.g. "Winter Is Coming") — genuinely different from the show clearlogo.

Copilot AI review requested due to automatic review settings June 28, 2026 09:57

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the pause-overlay metadata UI (PlayerMetadataChrome) to avoid rendering redundant title text under a clearlogo by restricting when the secondary title line is shown.

Changes:

  • Tighten the condition for rendering the secondary displayTitle text when a logoUrl is present by adding a mediaType == MediaType.TV guard.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread app/src/main/kotlin/com/arflix/tv/ui/screens/player/PlayerScreen.kt Outdated
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants