marinofaggiana 5 years ago
parent
commit
ba513f65d6
1 changed files with 3 additions and 5 deletions
  1. 3 5
      iOSClient/AutoUpload/NCAutoUpload.m

+ 3 - 5
iOSClient/AutoUpload/NCAutoUpload.m

@@ -437,13 +437,11 @@
         });
     }
     
-    // end loading
+    // end loadingcand reload
     dispatch_async(dispatch_get_main_queue(), ^{
         [_hud hideHud];
-    });
-    
-    // reload
-    [[NCMainCommon sharedInstance] reloadDatasourceWithServerUrl:nil fileID:nil action:k_action_NULL];
+        [[NCMainCommon sharedInstance] reloadDatasourceWithServerUrl:nil fileID:nil action:k_action_NULL];
+    });    
 }
 
 - (void)addQueueUploadAndPhotoLibrary:(tableMetadata *)metadata asset:(PHAsset *)asset