Explorar o código

VLCPlaylistCollectionViewCell: Add thumbnail

Soomin Lee %!s(int64=7) %!d(string=hai) anos
pai
achega
128a7043ef
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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