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
VideoLAN
VLC-iOS
Commits
ccf95d1b
Commit
ccf95d1b
authored
May 26, 2013
by
Gleb Pinigin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use view frame for empty Library view
parent
011c4bc9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
AspenProject/VLCPlaylistViewController.m
AspenProject/VLCPlaylistViewController.m
+6
-4
No files found.
AspenProject/VLCPlaylistViewController.m
View file @
ccf95d1b
...
...
@@ -98,12 +98,14 @@
if
(
self
.
emptyLibraryView
.
superview
)
[
self
.
emptyLibraryView
removeFromSuperview
];
}
else
{
if
(
UI_USER_INTERFACE_IDIOM
()
==
UIUserInterfaceIdiomPhone
)
self
.
emptyLibraryView
.
frame
=
self
.
tableView
.
frame
;
else
self
.
emptyLibraryView
.
frame
=
self
.
gridView
.
frame
;
self
.
emptyLibraryView
.
frame
=
self
.
view
.
frame
;
[
self
.
view
addSubview
:
self
.
emptyLibraryView
];
}
if
(
UI_USER_INTERFACE_IDIOM
()
==
UIUserInterfaceIdiomPhone
)
{
_tableView
.
separatorStyle
=
(
_foundMedia
.
count
>
0
)?
UITableViewCellSeparatorStyleSingleLine
:
UITableViewCellSeparatorStyleNone
;
}
}
...
...
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