marinofaggiana 4 years ago
parent
commit
a397833831
1 changed files with 2 additions and 2 deletions
  1. 2 2
      iOSClient/AppDelegate.m

+ 2 - 2
iOSClient/AppDelegate.m

@@ -205,7 +205,7 @@
     if (self.activeFileViewInFolder != nil ) {
         [self.activeFileViewInFolder dismissViewControllerAnimated:false completion:^{
             self.activeFileViewInFolder = nil;
-        }];        
+        }];
     }
     
     [self updateApplicationIconBadgeNumber];
@@ -1128,7 +1128,7 @@
                             
                         } else {
                             
-                            fileName = [[path stringByDeletingLastPathComponent] lastPathComponent];
+                            fileName = path;
                             serverUrl = [NSString stringWithFormat:@"%@/%@", matchedAccount.urlBase, webDAV];
                         }