소스 검색

MovieCollectionViewCell: Hide newLabel with collections

Due to a limitation on the medialibrary, the new label is hidden by
default with playlists and video groups.

Indeed, we cannot make sure that is data is persistent making the user
experience a tiny bit uneasy.
Soomin Lee 5 년 전
부모
커밋
8868f2d81f
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      Sources/MediaCategoryCells/MovieCollectionViewCell.swift

+ 2 - 0
Sources/MediaCategoryCells/MovieCollectionViewCell.swift

@@ -101,6 +101,7 @@ class MovieCollectionViewCell: BaseCollectionViewCell {
         descriptionLabel.text = playlist.numberOfTracksString()
         thumbnailView.image = playlist.thumbnail()
         progressView.isHidden = true
+        newLabel.isHidden = true
     }
 
     func update(videoGroup: VLCMLVideoGroup) {
@@ -111,6 +112,7 @@ class MovieCollectionViewCell: BaseCollectionViewCell {
         descriptionLabel.text = videoGroup.numberOfTracksString()
         thumbnailView.image = videoGroup.thumbnail()
         progressView.isHidden = true
+        newLabel.isHidden = true
     }
 
     override class func numberOfColumns(for width: CGFloat) -> CGFloat {