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
2225db4f
Commit
2225db4f
authored
Jun 16, 2013
by
Romain Goyet
Committed by
Felix Paul Kühne
Jun 17, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reduce code duplication
Signed-off-by:
Felix Paul Kühne
<
fkuehne@videolan.org
>
parent
6aea606c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
AspenProject/VLCPlaylistViewController.m
AspenProject/VLCPlaylistViewController.m
+2
-4
No files found.
AspenProject/VLCPlaylistViewController.m
View file @
2225db4f
...
...
@@ -13,6 +13,7 @@
#import "VLCPlaylistTableViewCell.h"
#import "VLCPlaylistGridView.h"
#import "VLCMenuViewController.h"
#import "UINavigationController+Theme.h"
#import "NSString+SupportedMedia.h"
@implementation
EmptyLibraryView
...
...
@@ -297,10 +298,7 @@
if
(
self
.
menuViewController
==
nil
)
{
VLCMenuViewController
*
menuViewController
=
[[
VLCMenuViewController
alloc
]
initWithNibName
:
nil
bundle
:
nil
];
UINavigationController
*
navigationController
=
[[
UINavigationController
alloc
]
initWithRootViewController
:
menuViewController
];
[
navigationController
.
navigationBar
setBackgroundImage
:[
UIImage
imageNamed
:
@"navBarBackground"
]
forBarMetrics:
UIBarMetricsDefault
];
[
navigationController
.
navigationBar
setBackgroundImage
:[
UIImage
imageNamed
:
@"navBarBackgroundPhoneLandscape"
]
forBarMetrics:
UIBarMetricsLandscapePhone
];
[
navigationController
loadTheme
],
self
.
menuViewController
=
navigationController
;
if
(
UI_USER_INTERFACE_IDIOM
()
==
UIUserInterfaceIdiomPad
)
navigationController
.
navigationBarHidden
=
YES
;
...
...
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