Commit 832bf5bb by G

wrapped by SafeAreaProvider

parent 2853ebb3
...@@ -3,13 +3,16 @@ import UserLoginScreen from "@screens/UserLoginScreen"; ...@@ -3,13 +3,16 @@ import UserLoginScreen from "@screens/UserLoginScreen";
import { ThemeProvider } from "@shopify/restyle"; import { ThemeProvider } from "@shopify/restyle";
import { StatusBar } from "expo-status-bar"; import { StatusBar } from "expo-status-bar";
import { StyleSheet } from "react-native"; import { StyleSheet } from "react-native";
import { SafeAreaProvider } from "react-native-safe-area-context";
export default function App() { export default function App() {
return ( return (
<ThemeProvider theme={theme}> <ThemeProvider theme={theme}>
{/* <View style={styles.container}> */} {/* <View style={styles.container}> */}
<SafeAreaProvider>
<StatusBar style="auto" /> <StatusBar style="auto" />
<UserLoginScreen /> <UserLoginScreen />
</SafeAreaProvider>
{/* </View> */} {/* </View> */}
</ThemeProvider> </ThemeProvider>
); );
......
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