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
232f6b69
Commit
232f6b69
authored
Jan 07, 2015
by
Felix Paul Kühne
Browse files
plex: fix crash if server's library is totally empty
parent
c88e1ff9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Sources/VLCLocalPlexFolderListViewController.m
View file @
232f6b69
...
...
@@ -83,7 +83,7 @@
self
.
view
.
backgroundColor
=
[
UIColor
VLCDarkBackgroundColor
];
NSString
*
titleValue
;
if
([
_PlexServerPath
isEqualToString
:
@""
])
if
([
_PlexServerPath
isEqualToString
:
@""
]
||
_mutableObjectList
.
count
==
0
)
titleValue
=
_PlexServerName
;
else
titleValue
=
[
_mutableObjectList
[
0
]
objectForKey
:
@"libTitle"
];
...
...
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