From 49ffffae537871bed021a0ebdde79c91018a9873 Mon Sep 17 00:00:00 2001 From: Arkadiusz Fal Date: Fri, 19 May 2023 12:02:47 +0200 Subject: [PATCH] Fix crash --- Open in Yattee/ShareViewController.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Open in Yattee/ShareViewController.swift b/Open in Yattee/ShareViewController.swift index 2fe6fba9..930a1179 100644 --- a/Open in Yattee/ShareViewController.swift +++ b/Open in Yattee/ShareViewController.swift @@ -42,7 +42,7 @@ final class ShareViewController: SLComposeServiceViewController { self.open(url: url) } - self.extensionContext!.completeRequest(returningItems: nil, completionHandler: nil) + self.extensionContext?.completeRequest(returningItems: nil, completionHandler: nil) } } }