marinofaggiana 3 سال پیش
والد
کامیت
6a656f79f4
1فایلهای تغییر یافته به همراه3 افزوده شده و 2 حذف شده
  1. 3 2
      iOSClient/FileViewInFolder/NCFileViewInFolder.swift

+ 3 - 2
iOSClient/FileViewInFolder/NCFileViewInFolder.swift

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