Skip to content

Commit

Permalink
Merge pull request #1326 from Infomaniak/fix-artwork-for-track
Browse files Browse the repository at this point in the history
fix: Fix default artwork
  • Loading branch information
PhilippeWeidmann authored Oct 17, 2024
2 parents f3c7298 + 8dfd8c5 commit 35dfb5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kDrive/UI/View/Files/Preview/AudioCollectionViewCell.swift
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ final class AudioCollectionViewCell: PreviewCollectionViewCell {
.onCurrentTrackMetadata
.receive(on: DispatchQueue.main)
.sink { metadata in
self.artworkImageView.image = metadata.artwork
self.artworkImageView.image = metadata.artwork ?? KDriveResourcesAsset.music.image
self.artistNameLabel.text = metadata.artist
self.songTitleLabel.text = metadata.title
}
Expand Down

0 comments on commit 35dfb5f

Please sign in to comment.