Browse Source

coding

Signed-off-by: marinofaggiana <ios@nextcloud.com>
marinofaggiana 2 years ago
parent
commit
bd39890865
1 changed files with 4 additions and 2 deletions
  1. 4 2
      iOSClient/Files/NCFiles.swift

+ 4 - 2
iOSClient/Files/NCFiles.swift

@@ -62,14 +62,16 @@ class NCFiles: NCCollectionViewCommon {
             titleCurrentFolder = getNavigationTitle()
         }
 
+        // ----
+        super.initialize(notification)
+        // ----
+
         if let userInfo = notification.userInfo as NSDictionary?, userInfo["atStart"] as? Int != nil {
             print("Initialize at Start")
         } else {
             reloadDataSource(forced: false)
             reloadDataSourceNetwork()
         }
-
-        super.initialize(notification)
     }
 
     // MARK: - DataSource + NC Endpoint