Skip to content

Commit

Permalink
refactor: Replace UIImage by IK composant
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthieu-dgl committed Oct 17, 2024
1 parent 42e28c9 commit 8dfd8c5
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 ?? UIImage(resource: .music)
self.artworkImageView.image = metadata.artwork ?? KDriveResourcesAsset.music.image
self.artistNameLabel.text = metadata.artist
self.songTitleLabel.text = metadata.title
}
Expand Down

0 comments on commit 8dfd8c5

Please sign in to comment.