-
Notifications
You must be signed in to change notification settings - Fork 42
Artist Images aren't being rendered on the Recently Played Tracks List #1
Copy link
Copy link
Open
Labels
bugSomething isn't workingSomething isn't workinghelp wantedExtra attention is neededExtra attention is needed
Description
Description
The artist images aren't being rendered on the Recently Played Tracks List; only the the name, artists and the date fields are there. This occurs because the Observable for RecentlyPlayedTracks returns before the URLs are set for the tracks.
Expected Behavior
Artist images should be displayed underneath the album name.
Actual Behavior
Artist images are not displayed.
Steps to Reproduce the Problem
- Run the app
- Click on recently played tracks
- Artist images aren't being displayed in cells
Possible solution
Look into the scan operator. You can look at NewReleasesViewModel.swift for reference on how to use scan to append the results of Observables with each other. The correct solution would involve waiting for each call to the Observable return before setting the URLs for the tracks.
Specifications
- XCode Version: 11
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinghelp wantedExtra attention is neededExtra attention is needed