|
@@ -152,8 +152,7 @@ class NCShareExtension: UIViewController, NCListCellDelegate, NCEmptyDataSetDele
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- override func viewDidDisappear(_ animated: Bool) {
|
|
|
-
|
|
|
+ override func viewDidDisappear(_ animated: Bool) {
|
|
|
}
|
|
|
|
|
|
override func viewWillTransition(to size: CGSize, with coordinator: UIViewControllerTransitionCoordinator) {
|
|
@@ -166,9 +165,6 @@ class NCShareExtension: UIViewController, NCListCellDelegate, NCEmptyDataSetDele
|
|
|
|
|
|
override func traitCollectionDidChange(_ previousTraitCollection: UITraitCollection?) {
|
|
|
super.traitCollectionDidChange(previousTraitCollection)
|
|
|
-
|
|
|
-// collectionView.reloadData()
|
|
|
-// tableView.reloadData()
|
|
|
}
|
|
|
|
|
|
// MARK: -
|
|
@@ -323,7 +319,7 @@ class NCShareExtension: UIViewController, NCListCellDelegate, NCEmptyDataSetDele
|
|
|
if let fileName = filesName.first {
|
|
|
|
|
|
filesName.removeFirst()
|
|
|
- let ocId = "extension"+NSUUID().uuidString
|
|
|
+ let ocId = NSUUID().uuidString
|
|
|
let filePath = CCUtility.getDirectoryProviderStorageOcId(ocId, fileNameView: fileName)!
|
|
|
|
|
|
if NCUtilityFileSystem.shared.moveFile(atPath: (NSTemporaryDirectory() + fileName), toPath: filePath) {
|