Commit 26af6226 authored by Felix Paul Kühne's avatar Felix Paul Kühne

App Delegate: fix VLCCloudStorageTableViewController vc initialization

parent 46f16c67
......@@ -178,7 +178,7 @@
- (VLCDropboxTableViewController *)dropboxTableViewController
{
if (_dropboxTableViewController == nil)
_dropboxTableViewController = [[VLCDropboxTableViewController alloc] initWithNibName:nil bundle:nil];
_dropboxTableViewController = [[VLCDropboxTableViewController alloc] initWithNibName:@"VLCCloudStorageTableViewController" bundle:nil];
return _dropboxTableViewController;
}
......@@ -186,7 +186,7 @@
- (VLCGoogleDriveTableViewController *)googleDriveTableViewController
{
if (_googleDriveTableViewController == nil)
_googleDriveTableViewController = [[VLCGoogleDriveTableViewController alloc] initWithNibName:nil bundle:nil];
_googleDriveTableViewController = [[VLCGoogleDriveTableViewController alloc] initWithNibName:@"VLCCloudStorageTableViewController" bundle:nil];
return _googleDriveTableViewController;
}
......
......@@ -47,7 +47,6 @@
- (void)viewDidLoad
{
[super viewDidLoad];
[[NSBundle mainBundle] loadNibNamed:@"VLCCloudStorageTableViewController" owner:self options:nil];
self.modalPresentationStyle = UIModalPresentationFormSheet;
_dropboxController = [[VLCDropboxController alloc] init];
......
......@@ -47,7 +47,6 @@
- (void)viewDidLoad
{
[super viewDidLoad];
[[NSBundle mainBundle] loadNibNamed:@"VLCCloudStorageTableViewController" owner:self options:nil];
self.modalPresentationStyle = UIModalPresentationFormSheet;
_googleDriveController = [VLCGoogleDriveController sharedInstance];
......
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