Add support for iPhone XR, XS and XS Max (#2153)
This commit is contained in:
parent
45b8d97168
commit
0e15692f13
3 changed files with 4 additions and 4 deletions
|
|
@ -31,7 +31,7 @@ export default class SafeAreaIos extends PureComponent {
|
|||
constructor(props) {
|
||||
super(props);
|
||||
|
||||
this.isX = DeviceInfo.getModel() === 'iPhone X';
|
||||
this.isX = DeviceInfo.getModel().includes('iPhone X');
|
||||
|
||||
if (props.navigator) {
|
||||
props.navigator.setOnNavigatorEvent(this.onNavigatorEvent);
|
||||
|
|
|
|||
4
package-lock.json
generated
4
package-lock.json
generated
|
|
@ -14256,8 +14256,8 @@
|
|||
}
|
||||
},
|
||||
"react-native-device-info": {
|
||||
"version": "github:enahum/react-native-device-info#3b1a676801215444b1758aa76b6f0fe0fc449650",
|
||||
"from": "github:enahum/react-native-device-info#3b1a676801215444b1758aa76b6f0fe0fc449650"
|
||||
"version": "github:enahum/react-native-device-info#f28e4ef36cd2e3d30f36ed96f2341591fc3f038f",
|
||||
"from": "github:enahum/react-native-device-info#f28e4ef36cd2e3d30f36ed96f2341591fc3f038f"
|
||||
},
|
||||
"react-native-dismiss-keyboard": {
|
||||
"version": "1.0.0",
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@
|
|||
"react-native-calendars": "github:enahum/react-native-calendars#b96954bf85126222b311b638fe458a8194f25bed",
|
||||
"react-native-circular-progress": "1.0.1",
|
||||
"react-native-cookies": "github:joeferraro/react-native-cookies#f11374745deba9f18f7b8a9bb4b0b2573026f522",
|
||||
"react-native-device-info": "github:enahum/react-native-device-info#3b1a676801215444b1758aa76b6f0fe0fc449650",
|
||||
"react-native-device-info": "github:enahum/react-native-device-info#f28e4ef36cd2e3d30f36ed96f2341591fc3f038f",
|
||||
"react-native-doc-viewer": "2.7.8",
|
||||
"react-native-document-picker": "2.1.0",
|
||||
"react-native-drawer-layout": "2.0.0",
|
||||
|
|
|
|||
Loading…
Reference in a new issue