Bug: action sheet requires source view
This commit is contained in:
@@ -349,6 +349,8 @@ class BrowserViewController: UIViewController
|
|||||||
actionSheet.dismiss(animated: true, completion: nil)
|
actionSheet.dismiss(animated: true, completion: nil)
|
||||||
}))
|
}))
|
||||||
|
|
||||||
|
actionSheet.popoverPresentationController?.sourceView = toolbarController.urlBar.documentButton
|
||||||
|
|
||||||
present(actionSheet, animated: true, completion: nil)
|
present(actionSheet, animated: true, completion: nil)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user