Skip to content

Commit 7fe8261

Browse files
committed
remove statusbar and SafeAreaView
1 parent 60308b9 commit 7fe8261

File tree

4 files changed

+445
-2407
lines changed

4 files changed

+445
-2407
lines changed

examples/ReactNativeBlobUtil/App.js

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*/
88

99
import React, {useState} from 'react';
10-
import {Alert, Button, SafeAreaView, ScrollView, StatusBar, StyleSheet, Text, TextInput, View} from 'react-native';
10+
import {Alert, Button, ScrollView, StyleSheet, Text, TextInput, View} from 'react-native';
1111
// import {Picker} from '@react-native-picker/picker'; Need to remove this package as it is not supported in Windows New Architecture
1212

1313
import {Colors} from 'react-native/Libraries/NewAppScreen';
@@ -489,8 +489,7 @@ const App: () => React$Node = () => {
489489
// App ************************************************************************
490490
return (
491491
<>
492-
<StatusBar barStyle="dark-content" />
493-
<SafeAreaView>
492+
<View>
494493
<ScrollView contentInsetAdjustmentBehavior="automatic" style={styles.scrollView}>
495494
{global.HermesInternal == null ? null : (
496495
<View style={styles.engine}>
@@ -729,7 +728,7 @@ const App: () => React$Node = () => {
729728
</View>
730729
</View>
731730
</ScrollView>
732-
</SafeAreaView>
731+
</View>
733732
</>
734733
);
735734
};

examples/ReactNativeBlobUtil/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@
2121
"@babel/core": "^7.12.9",
2222
"@babel/runtime": "^7.12.5",
2323
"@react-native-community/eslint-config": "^2.0.0",
24-
"babel-jest": "^26.6.3",
24+
"babel-jest": "^29.0.0",
2525
"eslint": "^7.32.0",
26-
"jest": "^26.6.3",
27-
"metro-react-native-babel-preset": "0.72.3",
26+
"jest": "^29.0.0",
27+
"@react-native/babel-preset": "^0.76.0",
2828
"react-test-renderer": "18.1.0",
2929
"@rnx-kit/jest-preset": "^0.1.17",
3030
"@react-native/metro-config": "^0.76.9"

0 commit comments

Comments
 (0)