Commit 79c0d94c authored by Felix Paul Kühne's avatar Felix Paul Kühne

box integration: cosmetics

parent 98da7bee
......@@ -89,7 +89,7 @@
alert = [[UIAlertView alloc] initWithTitle: title
message: message
delegate: nil
cancelButtonTitle: @"OK"
cancelButtonTitle: NSLocalizedString(@"BUTTON_OK", nil)
otherButtonTitles: nil];
[alert show];
}
......@@ -186,7 +186,7 @@
return NO;
}
//just pick out Directories and suported formats.
//just pick out Directories and supported formats.
//if the resulting list contains less than 10 items try to get more
- (void)_listOfGoodFilesAndFolders
......@@ -194,7 +194,8 @@
NSMutableArray *listOfGoodFilesAndFolders = [NSMutableArray new];
_maxOffset = _fileList.totalCount.intValue;
_offset += _fileList.numberOfEntries;
for (int i = 0; i < _fileList.numberOfEntries; i++)
NSUInteger numberOfEntries = _fileList.numberOfEntries;
for (int i = 0; i < numberOfEntries; i++)
{
BoxModel *boxFile = [_fileList modelAtIndex:i];
BOOL isDirectory = [boxFile.type isEqualToString:BoxAPIItemTypeFolder];
......
......@@ -2,7 +2,7 @@
* VLCBoxTableViewController.h
* VLC for iOS
*****************************************************************************
* Copyright (c) 2013 VideoLAN. All rights reserved.
* Copyright (c) 2014 VideoLAN. All rights reserved.
* $Id$
*
* Authors: Carola Nitz <nitz.carola # googlemail.com>
......
......@@ -251,7 +251,7 @@
_selectedFile = nil;
}
#pragma mark - google drive controller delegate
#pragma mark - box controller delegate
- (void)mediaListUpdated
{
......
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