Marino Faggiana 7 år sedan
förälder
incheckning
b7be40b8bc
2 ändrade filer med 4 tillägg och 4 borttagningar
  1. 1 0
      iOSClient/AppDelegate.m
  2. 3 4
      iOSClient/Main/CCMain.m

+ 1 - 0
iOSClient/AppDelegate.m

@@ -1548,6 +1548,7 @@
         NSLog(@"[LOG] Re upload file : %@", metadata.fileName);
     }
 }
+
 #pragma --------------------------------------------------------------------------------------------
 #pragma mark ===== Open CCUploadFromOtherUpp  =====
 #pragma --------------------------------------------------------------------------------------------

+ 3 - 4
iOSClient/Main/CCMain.m

@@ -153,6 +153,7 @@
     self.searchController.delegate = self;
     self.searchController.searchBar.delegate = self;
     
+    // Actie Delegate Networking
     [CCNetworking sharedNetworking].delegate = self;
     
     // Custom Cell
@@ -370,12 +371,10 @@
         [appDelegate settingThemingColorBrand];
         
         // Load photo datasorce
-        if (appDelegate.activePhotos)
-            [appDelegate.activePhotos reloadDatasource];
+        [appDelegate.activePhotos reloadDatasource];
         
         // remove all of detail
-        if (appDelegate.activeDetail)
-            [appDelegate.activeDetail removeAllView];
+        [appDelegate.activeDetail removeAllView];
         
         // remove all Notification Messages
         [appDelegate.listOfNotifications removeAllObjects];