marinofaggiana 4 years ago
parent
commit
3949aec8e9
1 changed files with 4 additions and 4 deletions
  1. 4 4
      iOSClient/Media/NCMedia.swift

+ 4 - 4
iOSClient/Media/NCMedia.swift

@@ -117,16 +117,16 @@ class NCMedia: UIViewController, DropdownMenuDelegate, DZNEmptyDataSetSource, DZ
     
     override func viewWillAppear(_ animated: Bool) {
         super.viewWillAppear(animated)
-    }
-    
-    override func viewDidAppear(_ animated: Bool) {
-        super.viewDidAppear(animated)
         
         reloadDataSourceWithCompletion {
             self.searchNewPhotoVideo()
         }
     }
     
+    override func viewDidAppear(_ animated: Bool) {
+        super.viewDidAppear(animated)
+    }
+    
     override func viewWillTransition(to size: CGSize, with coordinator: UIViewControllerTransitionCoordinator) {
         super.viewWillTransition(to: size, with: coordinator)