@@ -41,6 +41,8 @@
{
[super viewDidLoad];
+ self.modalPresentationStyle = UIModalPresentationFormSheet;
+
_dropboxController = [[VLCDropboxController alloc] init];
_dropboxController.delegate = self;
@@ -184,9 +184,6 @@
- (IBAction)showDropbox:(id)sender
VLCAppDelegate *appDelegate = [UIApplication sharedApplication].delegate;
-
- appDelegate.dropboxTableViewController.modalPresentationStyle = UIModalPresentationFormSheet;
[self _presentViewController:appDelegate.dropboxTableViewController];
}