Commit 01cc3588 authored by Soomin Lee's avatar Soomin Lee

MediaCollectionViewCell: Hide newLabel for Artist & Album

Since these values aren't represented/persisted in the medialibrary,
always hide them for now.
parent 087984fa
......@@ -90,6 +90,7 @@ class MediaCollectionViewCell: BaseCollectionViewCell {
}
func update(album: VLCMLAlbum) {
newLabel.isHidden = true
titleLabel.text = album.albumName()
accessibilityLabel = album.accessibilityText(editing: false)
descriptionLabel.text = album.albumArtistName()
......@@ -97,6 +98,7 @@ class MediaCollectionViewCell: BaseCollectionViewCell {
}
func update(artist: VLCMLArtist) {
newLabel.isHidden = true
thumbnailView.layer.masksToBounds = true
thumbnailView.layer.cornerRadius = thumbnailView.frame.size.width / 2.0
titleLabel.text = artist.artistName()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment