瀏覽代碼

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()