浏览代码

Improved Select view

marinofaggiana 4 年之前
父节点
当前提交
48c4ec6b31

+ 0 - 1
iOSClient/Settings/CCManageAutoUpload.m

@@ -515,7 +515,6 @@
      viewController.delegate = self;
      viewController.typeOfCommandView = 1;
      
-     [navigationController setModalPresentationStyle:UIModalPresentationFullScreen];
      [self presentViewController:navigationController animated:YES completion:^{
          [self.tableView reloadData];
      }];

+ 1 - 4
iOSClient/Viewer/NCViewerRichdocument/NCViewerRichdocument.swift

@@ -155,14 +155,11 @@ class NCViewerRichdocument: UIViewController, WKNavigationDelegate, WKScriptMess
                 let viewController = navigationController.topViewController as! NCSelect
                 
                 viewController.delegate = self
+                viewController.typeOfCommandView = .select
                 viewController.enableSelectFile = true
-//                viewController.hideButtonCreateFolder = true
-//                viewController.selectFile = true
-                viewController.includeDirectoryE2EEncryption = false
                 viewController.includeImages = true
                 viewController.type = ""
                 
-                navigationController.modalPresentationStyle = UIModalPresentationStyle.fullScreen
                 self.present(navigationController, animated: true, completion: nil)
             }