Commit 480fae19 authored by Felix Paul Kühne's avatar Felix Paul Kühne

Dropbox: fix download location

parent 15e22262
......@@ -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];
......
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