소스 검색

VLCPlaylistCollectionViewCell: Add thumbnail

Soomin Lee 7 년 전
부모
커밋
128a7043ef
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      Sources/VLCPlaylistCollectionViewCell.m

+ 1 - 0
Sources/VLCPlaylistCollectionViewCell.m

@@ -213,6 +213,7 @@
     _subtitleLabel.text = [NSString stringWithFormat:@"%@ - %@",
                            [_media formatDuration],
                            [_media formatSize]];
+    _thumbnailView.image = [UIImage imageWithContentsOfFile:_media.thumbnail];
 }
 
 - (void)_updatedDisplayedInformationForKeyPath:(NSString *)keyPath