Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
VideoLAN
VLC-iOS
Commits
5c75d452
Commit
5c75d452
authored
Dec 22, 2014
by
Felix Paul Kühne
Browse files
thumbnail cache: fix folder artwork size for iPhone 6+
parent
86816a95
Changes
1
Hide whitespace changes
Inline
Side-by-side
Sources/VLCThumbnailsCache.m
View file @
5c75d452
...
...
@@ -185,9 +185,12 @@ static NSCache *_thumbnailCacheMetadata;
else
imageSize
=
CGSizeMake
(
341
.,
192
.);
}
else
{
if
(
SYSTEM_RUNS_IOS7_OR_LATER
)
imageSize
=
CGSizeMake
(
480
.,
270
.);
else
{
if
(
SYSTEM_RUNS_IOS7_OR_LATER
)
{
if
([
UIScreen
mainScreen
].
scale
==
2
.
0
)
imageSize
=
CGSizeMake
(
480
.,
270
.);
else
imageSize
=
CGSizeMake
(
720
.,
405
.);
}
else
{
if
([
UIScreen
mainScreen
].
scale
==
2
.
0
)
imageSize
=
CGSizeMake
(
258
.,
145
.);
else
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment