瀏覽代碼

coding

Signed-off-by: marinofaggiana <ios@nextcloud.com>
marinofaggiana 2 年之前
父節點
當前提交
e51435d50a
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      iOSClient/Files/NCFiles.swift

+ 2 - 2
iOSClient/Files/NCFiles.swift

@@ -46,11 +46,11 @@ class NCFiles: NCCollectionViewCommon {
     }
 
     override func viewWillAppear(_ animated: Bool) {
-        super.viewWillAppear(animated)
-
         if isRoot {
+            serverUrl = NCUtilityFileSystem.shared.getHomeServer(account: appDelegate.account)
             titleCurrentFolder = getNavigationTitle()
         }
+        super.viewWillAppear(animated)
     }
 
     // MARK: - NotificationCenter