Adds cancel button to preferred email recipient sheet

This commit is contained in:
James Magahern
2021-05-25 15:40:58 -07:00
parent 6ea9cfa5e0
commit 25e5fa563c

View File

@@ -344,6 +344,10 @@ class BrowserViewController: UIViewController
})) }))
} }
actionSheet.addAction(UIAlertAction(title: "Cancel", style: .cancel, handler: { _ in
actionSheet.dismiss(animated: true, completion: nil)
}))
present(actionSheet, animated: true, completion: nil) present(actionSheet, animated: true, completion: nil)
} }