Преглед изворни кода

coding

Signed-off-by: marinofaggiana <ios@nextcloud.com>
marinofaggiana пре 2 година
родитељ
комит
847f830843
1 измењених фајлова са 1 додато и 4 уклоњено
  1. 1 4
      iOSClient/Files/NCFiles.swift

+ 1 - 4
iOSClient/Files/NCFiles.swift

@@ -46,9 +46,6 @@ class NCFiles: NCCollectionViewCommon {
     }
 
     override func viewWillAppear(_ animated: Bool) {
-        if isRoot {
-            serverUrl = NCUtilityFileSystem.shared.getHomeServer(account: appDelegate.account)
-        }
         super.viewWillAppear(animated)
 
         if isRoot {
@@ -67,7 +64,7 @@ class NCFiles: NCCollectionViewCommon {
             serverUrl = NCUtilityFileSystem.shared.getHomeServer(account: appDelegate.account)
             titleCurrentFolder = getNavigationTitle()
             reloadDataSource()
-            reloadDataSourceNetwork(forced: true)
+            reloadDataSourceNetwork()
         }
 
         super.initialize()