- Added missing iPhone 14 Pro & iPhone 14 Pro Max dimensions to the `isIphoneX()` method.
- The `marginBottom` is applied to `modal` styles rather than the cancel button styles. This allows overriding the bottom margin through `modalStyleIOS`.
- The margin value is updated to `34pt` which is the proper size of the iOS bottom inset. Reference: [iPhone 14 Screen Sizes](https://useyourloaf.com/blog/iphone-14-screen-sizes/)
# Test Plan
The bottom inset of 34pt should appear for iPhone 14 Pro and iPhone 14 Pro Max. Users should be able to manually update the inset value through modalStyleIOS prop.
Overview
- Added missing iPhone 14 Pro & iPhone 14 Pro Max dimensions to the `isIphoneX()` method. - The `marginBottom` is applied to `modal` styles rather than the cancel button styles. This allows overriding the bottom margin through `modalStyleIOS`. - The margin value is updated to `34pt` which is the proper size of the iOS bottom inset. Reference: [iPhone 14 Screen Sizes](https://useyourloaf.com/blog/iphone-14-screen-sizes/) # Test PlanThe bottom inset of 34pt should appear for iPhone 14 Pro and iPhone 14 Pro Max. Users should be able to manually update the inset value through
modalStyleIOS
prop.