Bug: action sheet requires source view

This commit is contained in:
James Magahern
2021-06-14 16:47:57 -07:00
parent 2f09a452c7
commit 6ae053ab67

View File

@@ -349,6 +349,8 @@ class BrowserViewController: UIViewController
actionSheet.dismiss(animated: true, completion: nil)
}))
actionSheet.popoverPresentationController?.sourceView = toolbarController.urlBar.documentButton
present(actionSheet, animated: true, completion: nil)
}