mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2025-01-23 07:39:59 +01:00
Fixed a crash that occurs when presenting the share sheet on iPad. Issue #639
This commit is contained in:
parent
e8645ab0c8
commit
19881427c9
@ -168,6 +168,8 @@ class DetailViewController: UIViewController {
|
||||
}
|
||||
let itemSource = ArticleActivityItemSource(url: url, subject: navState?.currentArticle?.title)
|
||||
let activityViewController = UIActivityViewController(activityItems: [itemSource], applicationActivities: nil)
|
||||
activityViewController.popoverPresentationController?.barButtonItem = self.actionBarButtonItem
|
||||
|
||||
present(activityViewController, animated: true)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user