Commit 18166a3b authored by Soomin Lee's avatar Soomin Lee Committed by Felix Paul Kühne

VLCGoogleDriveController: Remove files duplications upon pull to refresh

Signed-off-by: Felix Paul Kühne's avatarFelix Paul Kühne <fkuehne@videolan.org>
parent cd89737c
Pipeline #95 failed with stage
in 0 seconds
......@@ -265,7 +265,7 @@
if (isDirectory || supportedFile)
[listOfGoodFilesAndFolders addObject:iter];
}
_currentFileList = [_currentFileList count] ? [_currentFileList arrayByAddingObjectsFromArray:listOfGoodFilesAndFolders] : [NSArray arrayWithArray:listOfGoodFilesAndFolders];
_currentFileList = [NSArray arrayWithArray:listOfGoodFilesAndFolders];
if ([_currentFileList count] <= 10 && [self hasMoreFiles]) {
[self listFilesWithID:_folderId];
......
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