Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
VideoLAN
VLC-iOS
Commits
cddcabb7
Commit
cddcabb7
authored
Oct 13, 2015
by
Felix Paul Kühne
Browse files
Fix runtime exception
(cherry picked from commit
b4692d53
)
parent
d092b7ce
Changes
1
Hide whitespace changes
Inline
Side-by-side
Sources/VLCLibraryViewController.m
View file @
cddcabb7
...
...
@@ -777,7 +777,10 @@ static NSString *kUsingTableViewToShowData = @"UsingTableViewToShowData";
-
(
UICollectionViewCell
*
)
collectionView
:(
UICollectionView
*
)
collectionView
cellForItemAtIndexPath
:(
NSIndexPath
*
)
indexPath
{
VLCPlaylistCollectionViewCell
*
cell
=
[
collectionView
dequeueReusableCellWithReuseIdentifier
:
@"PlaylistCell"
forIndexPath
:
indexPath
];
cell
.
mediaObject
=
_foundMedia
[
indexPath
.
row
];
NSUInteger
row
=
indexPath
.
row
;
if
(
row
<
_foundMedia
.
count
)
cell
.
mediaObject
=
_foundMedia
[
row
];
cell
.
collectionView
=
_collectionView
;
[
cell
setEditing
:
self
.
editing
animated
:
NO
];
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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