From df5a4a83a53241eccffed10407b69b2402e0eb21 Mon Sep 17 00:00:00 2001 From: Claudio Cambra Date: Wed, 21 Feb 2024 17:45:03 +0800 Subject: [PATCH] Remove unused IBActions in DocumentActionViewController Signed-off-by: Claudio Cambra --- .../DocumentActionViewController.swift | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/shell_integration/MacOSX/NextcloudIntegration/FileProviderUIExt/DocumentActionViewController.swift b/shell_integration/MacOSX/NextcloudIntegration/FileProviderUIExt/DocumentActionViewController.swift index 52596a3d4..264b0fd56 100644 --- a/shell_integration/MacOSX/NextcloudIntegration/FileProviderUIExt/DocumentActionViewController.swift +++ b/shell_integration/MacOSX/NextcloudIntegration/FileProviderUIExt/DocumentActionViewController.swift @@ -44,15 +44,5 @@ class DocumentActionViewController: FPUIActionExtensionViewController { override public func loadView() { self.view = NSView() } - - @IBAction func doneButtonTapped(_ sender: Any) { - // Perform the action and call the completion block. If an unrecoverable error occurs you must still call the completion block with an error. Use the error code FPUIExtensionErrorCode.failed to signal the failure. - extensionContext.completeRequest() - } - - @IBAction func cancelButtonTapped(_ sender: Any) { - extensionContext.cancelRequest(withError: NSError(domain: FPUIErrorDomain, code: Int(FPUIExtensionErrorCode.userCancelled.rawValue), userInfo: nil)) - } - } -- 2.30.2