Skip to content

fix(search): added if-null check for playlist video count #317

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 10, 2024

Conversation

codedbycurtis
Copy link
Contributor

@codedbycurtis codedbycurtis commented Dec 4, 2024

This reverts to the previous functionality of checking for null and returning 0 when parsing a playlist's video count from the search page. Some auto-generated playlists currently return Mix, rather than an actual video count, so in future, perhaps it would make sense to add some sort of indicator to SearchPlaylist to denote this, or even return -1 instead.

Closes #315.

@Hexer10
Copy link
Owner

Hexer10 commented Dec 10, 2024

Thank you!

@Hexer10 Hexer10 merged commit 3ddec6f into Hexer10:master Dec 10, 2024
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.

[Bug]: search_page.dart no null check
2 participants