Explorar o código

Dropbox: fix download location

Felix Paul Kühne %!s(int64=12) %!d(string=hai) anos
pai
achega
480fae19a5
Modificáronse 1 ficheiros con 1 adicións e 2 borrados
  1. 1 2
      AspenProject/VLCDropboxController.m

+ 1 - 2
AspenProject/VLCDropboxController.m

@@ -56,8 +56,7 @@
 {
     if (!file.isDirectory) {
         NSArray *searchPaths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);
-        NSString *filePath = [searchPaths[0] stringByAppendingString:file.filename];
-        //FIXME: add UI hook to display activity
+        NSString *filePath = [searchPaths[0] stringByAppendingFormat:@"/%@", file.filename];
 
         [[self restClient] loadFile:file.path intoPath:filePath];