marinofaggiana 4 年之前
父節點
當前提交
a397833831
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      iOSClient/AppDelegate.m

+ 2 - 2
iOSClient/AppDelegate.m

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