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

playlist: fix thumbnail AR issue

parent 93bb61b8
......@@ -160,7 +160,8 @@ typedef enum {
VLCRowController *row = rowController;
CGRect screenRect = WKInterfaceDevice.currentDevice.screenBounds;
UIImage *backgroundImage = [VLCThumbnailsCache thumbnailForManagedObject:storageObject toFitRect: (CGRect){CGPointZero, CGSizeMake(screenRect.size.width * WKInterfaceDevice.currentDevice.screenScale, 120.)} shouldReplaceCache:YES];
CGFloat screenScale = WKInterfaceDevice.currentDevice.screenScale;
UIImage *backgroundImage = [VLCThumbnailsCache thumbnailForManagedObject:storageObject toFitRect: (CGRect){CGPointZero, CGSizeMake(screenRect.size.width * screenScale, 120. * screenScale)} 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