Commit cafe040e authored by Felix Paul Kühne's avatar Felix Paul Kühne
Browse files

watch playlist: only request the thumbnail size we need

parent d71564a1
......@@ -159,7 +159,9 @@ typedef enum {
- (void)configureTableRowController:(id)rowController withObject:(id)storageObject {
VLCRowController *row = rowController;
UIImage *backgroundImage = [VLCThumbnailsCache thumbnailForManagedObject:storageObject];
CGRect screenRect = WKInterfaceDevice.currentDevice.screenBounds;
UIImage *backgroundImage = [VLCThumbnailsCache thumbnailForManagedObject:storageObject toFitRect: (CGRect){CGPointZero, CGSizeMake(screenRect.size.width * WKInterfaceDevice.currentDevice.screenScale, 120.)} shouldReplaceCache:YES];
float playbackProgress = 0.0;
if ([storageObject isKindOfClass:[MLShow class]]) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment