Skip to content

chore: remove outdated TODO already implemented in VideoPlayerScreen#224

Open
clown6613 wants to merge 1 commit into
android:mainfrom
clown6613:chore-rm-video-player-screen-comment
Open

chore: remove outdated TODO already implemented in VideoPlayerScreen#224
clown6613 wants to merge 1 commit into
android:mainfrom
clown6613:chore-rm-video-player-screen-comment

Conversation

@clown6613

Copy link
Copy Markdown

What

Remove the obsolete // TODO: Handle Loading & Error states comment in VideoPlayerScreen.

Why

The when (uiState) block directly below the comment already handles all VideoPlayerScreenUiState cases — Loading, Error, and Done.
The TODO was left behind after the states were implemented by #168 and is now misleading.
Removing it keeps the code aligned with its actual behavior.

Changes

  • Removed the stale TODO comment in VideoPlayerScreen.kt.

No functional changes.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Code Review

This pull request removes a TODO comment regarding handling loading and error states in the VideoPlayerScreen component. No review comments were provided, so there is no feedback to address.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

@pflammertsma

Copy link
Copy Markdown
Member

Indeed; the states were added here: https://github.com/android/tv-samples/pull/168/changes#diff-7b344a6e5e297ce690c55b06dab841bb02a31f596dc3dfed24ed054d5351d058R94

Thanks for catching!

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.

2 participants