marinofaggiana 3 years ago
parent
commit
6a656f79f4
1 changed files with 3 additions and 2 deletions
  1. 3 2
      iOSClient/FileViewInFolder/NCFileViewInFolder.swift

+ 3 - 2
iOSClient/FileViewInFolder/NCFileViewInFolder.swift

@@ -24,7 +24,7 @@
 import UIKit
 import NCCommunication
 
-class NCFileViewInFolder: NCCollectionViewCommon  {
+class NCFileViewInFolder: NCCollectionViewCommon {
     
     internal var fileName: String?
 
@@ -43,7 +43,8 @@ class NCFileViewInFolder: NCCollectionViewCommon  {
     }
     
     override func viewWillAppear(_ animated: Bool) {
-
+        super.viewWillAppear(animated)
+        
         appDelegate.activeViewController = self
         
         if serverUrl == NCUtilityFileSystem.shared.getHomeServer(account: appDelegate.account) {