瀏覽代碼

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