File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -101,11 +101,11 @@ import { Platform } from 'react-native';
101
101
import { SafeAreaView } from ' react-navigation' ;
102
102
import DeviceInfo from ' react-native-device-info' ;
103
103
104
- if (Platform .OS === ' android' && Device .hasNotch ()) {
104
+ if (Platform .OS === ' android' && DeviceInfo .hasNotch ()) {
105
105
SafeAreaView .setStatusBarHeight (
106
106
/* Some value for status bar height + notch height */
107
107
);
108
108
}
109
109
```
110
110
111
- Work is in progress on a longer term solution, see [ this pull request] ( https://github.com/facebook/react-native/pull/20999 ) for more information.
111
+ Work is in progress on a longer term solution, see [ this pull request] ( https://github.com/facebook/react-native/pull/20999 ) for more information.
You can’t perform that action at this time.
0 commit comments