Sfoglia il codice sorgente

VLCPlaylistCollectionViewCell: Add thumbnail

Soomin Lee 6 anni fa
parent
commit
128a7043ef
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  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