Commit ec16e121 authored by Gleb Pinigin's avatar Gleb Pinigin

Dropbox: set presentation style once after creation of view controller

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