spot icon indicating copy to clipboard operation
spot copied to clipboard

Bug Fix: Handle null images for playlist

Open potatoes1286 opened this issue 1 year ago • 0 comments

Fixes #715, potentially #713

If a user has a playlist with no image (due to only local songs, no songs in playlist, etc), Spotify API returns a null for image and causes Spot to fail loading any playlist changes.

This turns images to an option and, if null, returns an empty image instead. It is a quick and dirty fix, but I do not know much Rust, so I've done what I could.

Thank you in advance.

@xou816

potatoes1286 avatar Jun 25 '24 04:06 potatoes1286