PanModal
PanModal copied to clipboard
Make userInterfaceIdiom injectable on presentPanModal(_:)
Summary
Make userInterfaceIdiom injectable on presentPanModal(_:).
This allows users to present a PanModal without using .popover style on the iPadOS.
Requirements (place an x in each [ ])
-
[x] I've read and understood the Contributing Guidelines and have done my best effort to follow them.
-
[x] I've read and agree to the Code of Conduct.
-
[ ] I've written tests to cover the new code and functionality included in this PR.
I'd like also to have this, I'm using a "popover-like" ui on an iPad and I cannot display it in the native popover, but to behave the same as on iPhones.