Эх сурвалжийг харах

coding

Signed-off-by: marinofaggiana <ios@nextcloud.com>
marinofaggiana 2 жил өмнө
parent
commit
bd39890865

+ 4 - 2
iOSClient/Files/NCFiles.swift

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