Marino Faggiana 7 years ago
parent
commit
3e74f7bcbe
2 changed files with 4 additions and 1 deletions
  1. 3 1
      iOSClient/AppDelegate.m
  2. 1 0
      iOSClient/Main/CCMain.h

+ 3 - 1
iOSClient/AppDelegate.m

@@ -288,8 +288,10 @@
     self.timerVerifySessionInProgress = [NSTimer scheduledTimerWithTimeInterval:3.0 target:self selector:@selector(verifyDownloadUploadInProgress) userInfo:nil repeats:YES];
     self.timerVerifySessionInProgress = [NSTimer scheduledTimerWithTimeInterval:3.0 target:self selector:@selector(verifyDownloadUploadInProgress) userInfo:nil repeats:YES];
     
     
     // refresh active Main
     // refresh active Main
-    if (_activeMain)
+    if (_activeMain) {
         [_activeMain reloadDatasource];
         [_activeMain reloadDatasource];
+        [_activeMain readFileReloadFolder];
+    }
     
     
     // Initializations
     // Initializations
     [self applicationInitialized];
     [self applicationInitialized];

+ 1 - 0
iOSClient/Main/CCMain.h

@@ -80,6 +80,7 @@
 - (void)createFolderAutoUpload;
 - (void)createFolderAutoUpload;
 - (void)createFolder:(NSString *)fileNameFolder autoUploadDirectory:(BOOL)autoUploadDirectory;
 - (void)createFolder:(NSString *)fileNameFolder autoUploadDirectory:(BOOL)autoUploadDirectory;
 - (void)readFolder:(NSString *)serverUrl;
 - (void)readFolder:(NSString *)serverUrl;
+- (void)readFileReloadFolder;
 
 
 - (void)uploadFileAsset:(NSMutableArray *)assets serverUrl:(NSString *)serverUrl cryptated:(BOOL)cryptated useSubFolder:(BOOL)useSubFolder session:(NSString *)session;
 - (void)uploadFileAsset:(NSMutableArray *)assets serverUrl:(NSString *)serverUrl cryptated:(BOOL)cryptated useSubFolder:(BOOL)useSubFolder session:(NSString *)session;