Browse Source

coding

Signed-off-by: marinofaggiana <ios@nextcloud.com>
marinofaggiana 2 years ago
parent
commit
e51435d50a
1 changed files with 2 additions and 2 deletions
  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