Преглед на файлове

VLCBoxController: Check for potential path before download

Soomin Lee преди 5 години
родител
ревизия
f911e8e531
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      Sources/VLCBoxController.m

+ 1 - 1
Sources/VLCBoxController.m

@@ -194,7 +194,7 @@
     NSArray *searchPaths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);
     NSString *filePath = [searchPaths[0] stringByAppendingFormat:@"/%@", file.name];
 
-    [self loadFile:file intoPath:filePath];
+    [self loadFile:file intoPath:[self createPotentialPathFrom:filePath]];
 
     dispatch_async(dispatch_get_main_queue(), ^{
         if ([self.delegate respondsToSelector:@selector(operationWithProgressInformationStarted)])