Commit 768c6a6f authored by Felix Paul Kühne's avatar Felix Paul Kühne
Browse files

Box and OneDrive integration: fix compilation warnings

parent db650096
......@@ -16,7 +16,7 @@
#import <SSKeychain/SSKeychain.h>
#import "UIDevice+VLC.h"
@interface VLCBoxTableViewController () <VLCCloudStorageTableViewCell, BoxAuthorizationViewControllerDelegate>
@interface VLCBoxTableViewController () <VLCCloudStorageTableViewCell, BoxAuthorizationViewControllerDelegate, VLCCloudStorageDelegate>
{
BoxFile *_selectedFile;
VLCBoxController *_boxController;
......@@ -116,6 +116,11 @@
#pragma mark - Table view delegate
- (void)mediaListUpdated
{
[self.tableView reloadData];
}
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
{
_selectedFile = _boxController.currentListFiles[indexPath.row];
......
......@@ -19,7 +19,7 @@
#import "VLCProgressView.h"
#import "UIDevice+VLC.h"
@interface VLCOneDriveTableViewController ()
@interface VLCOneDriveTableViewController () <VLCCloudStorageDelegate>
{
VLCOneDriveController *_oneDriveController;
VLCOneDriveObject *_selectedFile;
......@@ -86,6 +86,11 @@
#pragma mark - table view delegate
- (void)mediaListUpdated
{
[self.tableView reloadData];
}
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
{
VLCOneDriveObject *selectedObject = _oneDriveController.currentFolder.items[indexPath.row];
......
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