Skip to content

Commit e65e85c

Browse files
committed
Fix presentation of unknown html VC
1 parent 54274fb commit e65e85c

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

Example/Example/TextViewAttachmentDelegateProvider.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -302,8 +302,7 @@ private extension TextViewAttachmentDelegateProvider {
302302
displayAsPopover(viewController: navigationController)
303303
}
304304

305-
func displayAsPopover(viewController: UIViewController) {
306-
viewController.modalPresentationStyle = .popover
305+
func displayAsPopover(viewController: UIViewController) {
307306
viewController.preferredContentSize = baseController.view.frame.size
308307

309308
let presentationController = viewController.popoverPresentationController

0 commit comments

Comments
 (0)