|
@@ -28,7 +28,6 @@ import ZIPFoundation
|
|
|
//MARK: - Main Common
|
|
|
|
|
|
class NCMainCommon: NSObject, PhotoEditorDelegate, NCAudioRecorderViewControllerDelegate, UIDocumentInteractionControllerDelegate {
|
|
|
-
|
|
|
@objc static let sharedInstance: NCMainCommon = {
|
|
|
let instance = NCMainCommon()
|
|
|
instance.createImagesThemingColor()
|
|
@@ -1147,6 +1146,8 @@ class NCMainCommon: NSObject, PhotoEditorDelegate, NCAudioRecorderViewController
|
|
|
self.appDelegate.window.rootViewController?.present(viewController, animated: true, completion: nil)
|
|
|
}
|
|
|
|
|
|
+ func didFinishWithoutRecording(_ viewController: NCAudioRecorderViewController, fileName: String) { }
|
|
|
+
|
|
|
func didFinishRecording(_ viewController: NCAudioRecorderViewController, fileName: String) {
|
|
|
|
|
|
guard let navigationController = UIStoryboard(name: "NCCreateFormUploadVoiceNote", bundle: nil).instantiateInitialViewController() else { return }
|