Commit f954e4ad authored by Felix Paul Kühne's avatar Felix Paul Kühne

settings: add glue code to have the passcode settings display correctly on iPad

parent 7afb16c2
......@@ -39,6 +39,11 @@
{
if (self.passcodeLockSwitch.on) {
VLCAppDelegate* appDelegate = [UIApplication sharedApplication].delegate;
if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad) {
CGRect frame = self.view.frame;
frame.size.height -= 44.;
appDelegate.playlistViewController.passcodeLockViewController.view.frame = frame;
}
[self.view addSubview:appDelegate.playlistViewController.passcodeLockViewController.view];
[appDelegate.playlistViewController.passcodeLockViewController resetPasscode];
} else
......
......@@ -90,6 +90,7 @@
<string key="NSFrame">{{80, 191}, {161, 30}}</string>
<reference key="NSSuperview" ref="191373211"/>
<reference key="NSWindow"/>
<reference key="NSNextKeyView"/>
<string key="NSReuseIdentifierKey">_NS:9</string>
<object class="NSColor" key="IBUIBackgroundColor">
<int key="NSColorSpace">3</int>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment