diff options
author | Joris Bodin <joris.bodin@infomaniak.com> | 2019-10-30 18:38:16 +0300 |
---|---|---|
committer | Joris Bodin <joris.bodin@infomaniak.com> | 2019-10-30 18:38:16 +0300 |
commit | a5706e4a4817e835159c627a2be4bb73c18f0cbd (patch) | |
tree | a3e7f6a01c97493e8dd992a7649f606d65a18f68 | |
parent | 9f7b4a60ee419f66d48d0c47e03c3f9347747a4e (diff) |
No share in beta2.25.0.5.1
-rw-r--r-- | iOSClient/Main/NCMainCommon.swift | 20 | ||||
-rwxr-xr-x | kDrive.xcodeproj/project.pbxproj | 12 |
2 files changed, 19 insertions, 13 deletions
diff --git a/iOSClient/Main/NCMainCommon.swift b/iOSClient/Main/NCMainCommon.swift index beb32b561..357cffbce 100644 --- a/iOSClient/Main/NCMainCommon.swift +++ b/iOSClient/Main/NCMainCommon.swift @@ -1122,14 +1122,20 @@ class NCMainCommon: NSObject, PhotoEditorDelegate, NCAudioRecorderViewController //MARK: - OpenShare @objc func openShare(ViewController: UIViewController, metadata: tableMetadata, indexPage: Int) { - let shareNavigationController = UIStoryboard(name: "NCShare", bundle: nil).instantiateInitialViewController() as! UINavigationController - let shareViewController = shareNavigationController.topViewController as! NCSharePaging - - shareViewController.metadata = metadata - shareViewController.indexPage = indexPage +// let shareNavigationController = UIStoryboard(name: "NCShare", bundle: nil).instantiateInitialViewController() as! UINavigationController +// let shareViewController = shareNavigationController.topViewController as! NCSharePaging +// +// shareViewController.metadata = metadata +// shareViewController.indexPage = indexPage +// +// shareNavigationController.modalPresentationStyle = .formSheet +// ViewController.present(shareNavigationController, animated: true, completion: nil) - shareNavigationController.modalPresentationStyle = .formSheet - ViewController.present(shareNavigationController, animated: true, completion: nil) + let alertController = UIAlertController(title: "Non disponible sur la version beta", message: + nil, preferredStyle: .alert) + alertController.addAction(UIAlertAction(title: "Fermer", style: .default)) + + ViewController.present(alertController, animated: true, completion: nil) } //MARK: - NCAudioRecorder diff --git a/kDrive.xcodeproj/project.pbxproj b/kDrive.xcodeproj/project.pbxproj index a1bc5f8f2..bc4c8b302 100755 --- a/kDrive.xcodeproj/project.pbxproj +++ b/kDrive.xcodeproj/project.pbxproj @@ -3884,7 +3884,7 @@ CODE_SIGN_ENTITLEMENTS = iOSClient/Brand/Share.entitlements; CODE_SIGN_IDENTITY = "iPhone Developer"; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - CURRENT_PROJECT_VERSION = 5; + CURRENT_PROJECT_VERSION = 5.1; DEBUG_INFORMATION_FORMAT = dwarf; DEVELOPMENT_TEAM = 864VDCS2QY; FRAMEWORK_SEARCH_PATHS = ( @@ -3928,7 +3928,7 @@ CODE_SIGN_ENTITLEMENTS = iOSClient/Brand/Share.entitlements; CODE_SIGN_IDENTITY = "iPhone Developer"; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - CURRENT_PROJECT_VERSION = 5; + CURRENT_PROJECT_VERSION = 5.1; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; DEVELOPMENT_TEAM = 864VDCS2QY; FRAMEWORK_SEARCH_PATHS = ( @@ -3978,7 +3978,7 @@ CODE_SIGN_IDENTITY = "iPhone Developer"; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 5; + CURRENT_PROJECT_VERSION = 5.1; DEBUG_INFORMATION_FORMAT = dwarf; DEVELOPMENT_TEAM = 864VDCS2QY; FRAMEWORK_SEARCH_PATHS = ( @@ -4028,7 +4028,7 @@ CODE_SIGN_IDENTITY = "iPhone Developer"; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 5; + CURRENT_PROJECT_VERSION = 5.1; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; DEVELOPMENT_TEAM = 864VDCS2QY; FRAMEWORK_SEARCH_PATHS = ( @@ -4070,7 +4070,7 @@ CODE_SIGN_ENTITLEMENTS = iOSClient/Brand/iOSClient.entitlements; CODE_SIGN_IDENTITY = "iPhone Developer"; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - CURRENT_PROJECT_VERSION = 5; + CURRENT_PROJECT_VERSION = 5.1; DEVELOPMENT_TEAM = 864VDCS2QY; ENABLE_BITCODE = YES; FRAMEWORK_SEARCH_PATHS = ( @@ -4117,7 +4117,7 @@ CODE_SIGN_IDENTITY = "iPhone Developer"; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; COPY_PHASE_STRIP = NO; - CURRENT_PROJECT_VERSION = 5; + CURRENT_PROJECT_VERSION = 5.1; DEVELOPMENT_TEAM = 864VDCS2QY; ENABLE_BITCODE = YES; FRAMEWORK_SEARCH_PATHS = ( |