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

+ 2 - 2
iOSClient/FileViewInFolder/NCFileViewInFolder.swift

@@ -24,7 +24,7 @@
 import Foundation
 import NCCommunication
 
-class NCFileViewInFolder: NCCollectionViewCommon, UIAdaptivePresentationControllerDelegate  {
+class NCFileViewInFolder: NCCollectionViewCommon  {
     
     internal var fileName: String?
 
@@ -64,7 +64,7 @@ class NCFileViewInFolder: NCCollectionViewCommon, UIAdaptivePresentationControll
     }
     
     public func presentationControllerDidDismiss( _ presentationController: UIPresentationController) {
-        self.appDelegate.activeFileViewInFolder = nil
+        appDelegate.activeFileViewInFolder = nil
     }
     
     // MARK: - TAP EVENT

+ 1 - 1
iOSClient/Main/NCCollectionViewCommon.swift

@@ -24,7 +24,7 @@
 import Foundation
 import NCCommunication
 
-class NCCollectionViewCommon: UIViewController, UIGestureRecognizerDelegate, UISearchResultsUpdating, UISearchControllerDelegate, UISearchBarDelegate, NCListCellDelegate, NCGridCellDelegate, NCSectionHeaderMenuDelegate, DZNEmptyDataSetSource, DZNEmptyDataSetDelegate  {
+class NCCollectionViewCommon: UIViewController, UIGestureRecognizerDelegate, UISearchResultsUpdating, UISearchControllerDelegate, UISearchBarDelegate, NCListCellDelegate, NCGridCellDelegate, NCSectionHeaderMenuDelegate, DZNEmptyDataSetSource, DZNEmptyDataSetDelegate, UIAdaptivePresentationControllerDelegate  {
 
     @IBOutlet weak var collectionView: UICollectionView!