Commit 19ad4d81 authored by alep's avatar alep

Update code

parent 2572b7c7
Pipeline #695 failed with stages
...@@ -5,12 +5,8 @@ ...@@ -5,12 +5,8 @@
* @format * @format
*/ */
import { NewAppScreen } from '@react-native/new-app-screen'; import { StatusBar, StyleSheet, Text, useColorScheme, View } from 'react-native';
import { StatusBar, StyleSheet, useColorScheme, View ,Text} from 'react-native'; import { SafeAreaProvider } from 'react-native-safe-area-context';
import {
SafeAreaProvider,
useSafeAreaInsets,
} from 'react-native-safe-area-context';
function App() { function App() {
const isDarkMode = useColorScheme() === 'dark'; const isDarkMode = useColorScheme() === 'dark';
...@@ -24,8 +20,6 @@ function App() { ...@@ -24,8 +20,6 @@ function App() {
} }
function AppContent() { function AppContent() {
const safeAreaInsets = useSafeAreaInsets();
return ( return (
<View style={styles.container}> <View style={styles.container}>
<Text>Hello</Text> <Text>Hello</Text>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment