Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Soomin Lee
VLC-iOS
Commits
26c68186
Commit
26c68186
authored
Jan 25, 2014
by
Carola Nitz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
check against nil to load icon when albumart is not available
parent
fa10c545
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
Sources/VLCLocalServerFolderListViewController.m
Sources/VLCLocalServerFolderListViewController.m
+1
-1
No files found.
Sources/VLCLocalServerFolderListViewController.m
View file @
26c68186
...
...
@@ -228,7 +228,7 @@
[
cell
setSubtitle
:
[
NSString
stringWithFormat
:
@"%@ (%@)"
,
[
NSByteCountFormatter
stringFromByteCount
:
mediaSize
countStyle
:
NSByteCountFormatterCountStyleFile
],
[
VLCTime
timeWithInt
:
durationInSeconds
*
1000
].
stringValue
]];
[
cell
setIsDirectory
:
NO
];
cell
.
isDownloadable
=
YES
;
if
(
!
[
mediaItem
.
albumArt
isEqualToString
:
NULL
]
)
if
(
mediaItem
.
albumArt
!=
nil
)
[
cell
setIconURL
:[
NSURL
URLWithString
:
mediaItem
.
albumArt
]];
[
cell
setIcon
:[
UIImage
imageNamed
:
@"blank"
]];
cell
.
delegate
=
self
;
...
...
Write
Preview
Markdown
is supported
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