No need to dismiss during size class change

This commit is contained in:
Stephen Sowole 2019-05-09 15:20:27 -07:00
parent 2736468072
commit 32e4a6fa24
1 changed files with 0 additions and 1 deletions

View File

@ -73,7 +73,6 @@ extension PanModalPresentationDelegate: UIAdaptivePresentationControllerDelegate
Dismisses the presented view controller
*/
public func adaptivePresentationStyle(for controller: UIPresentationController, traitCollection: UITraitCollection) -> UIModalPresentationStyle {
controller.presentedViewController.dismiss(animated: false, completion: nil)
return .none
}