Remove unused IBActions in DocumentActionViewController
authorClaudio Cambra <claudio.cambra@nextcloud.com>
Wed, 21 Feb 2024 09:45:03 +0000 (17:45 +0800)
committerClaudio Cambra <claudio.cambra@nextcloud.com>
Wed, 17 Apr 2024 08:38:44 +0000 (16:38 +0800)
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
shell_integration/MacOSX/NextcloudIntegration/FileProviderUIExt/DocumentActionViewController.swift

index 52596a3d4586db112d0f9fd4791d9dc24c3646a0..264b0fd566abd84122d705511dcae7c81cd6ac81 100644 (file)
@@ -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))
-    }
-    
 }