Fix missing anchor for Compose screen visibility popover

This commit is contained in:
Shadowfacts 2020-06-22 09:53:20 -04:00
parent 0e5aab75df
commit 0e91fc239d
Signed by untrusted user: shadowfacts
GPG Key ID: 94A5AB95422746E5
1 changed files with 1 additions and 0 deletions

View File

@ -405,6 +405,7 @@ class ComposeViewController: UIViewController {
guard let visibility = visibility else { return } guard let visibility = visibility else { return }
self.visibility = visibility self.visibility = visibility
} }
alertController.popoverPresentationController?.barButtonItem = visibilityBarButtonItem
present(alertController, animated: true) present(alertController, animated: true)
} }