Skip to content
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

Bugfix: null song is coming when we click on recently played #533

Conversation

GautamCoder4019k
Copy link
Contributor

This PR fixes a bug where clicking on recently played list a null song gets added to the playlist. The issue occurred due to adding a empty song object to the recent played list and that empty song object was just used for checking if we should show all recently played card or not. In this pr i changed the logic for that and also refractor the code.

Earlier

WhatsApp.Video.2025-01-25.at.23.57.39_dae974d8.mp4

Now

WhatsApp.Video.2025-01-25.at.23.55.29_8f384cb2.mp4

@07jasjeet 07jasjeet self-requested a review January 26, 2025 15:14
Copy link
Collaborator

@07jasjeet 07jasjeet left a comment

Choose a reason for hiding this comment

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

Nice fix @GautamCoder4019k! I remember facing this too.

@07jasjeet 07jasjeet merged commit ba19e95 into metabrainz:main Jan 26, 2025
1 check passed
@07jasjeet
Copy link
Collaborator

Thanks for the contribution @GautamCoder4019k!

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