From a9718a7be5f8cb9f94c09594ed09a4d35a0e6a41 Mon Sep 17 00:00:00 2001 From: Morgan Pretty Date: Tue, 11 Jan 2022 14:38:42 +1100 Subject: [PATCH] Fixed a nav button issue Fixed a bug where the Cancel button on the attachment approval screen when sharing into the app wasn't working. --- SessionShareExtension/ThreadPickerVC.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SessionShareExtension/ThreadPickerVC.swift b/SessionShareExtension/ThreadPickerVC.swift index 414036bad..e11a2d6e0 100644 --- a/SessionShareExtension/ThreadPickerVC.swift +++ b/SessionShareExtension/ThreadPickerVC.swift @@ -172,7 +172,7 @@ final class ThreadPickerVC: UIViewController, UITableViewDataSource, UITableView } func attachmentApprovalDidCancel(_ attachmentApproval: AttachmentApprovalViewController) { - // Do nothing + dismiss(animated: true, completion: nil) } func attachmentApproval(_ attachmentApproval: AttachmentApprovalViewController, didChangeMessageText newMessageText: String?) {