Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,15 @@ web-build/

# environment variables
.env

# Ignore Visual Studio folders
.vs/
*.user
*.suo
*.db
*.cache

# Ignore build artifacts
node_modules/
dist/
build/
42 changes: 11 additions & 31 deletions App.tsx
Original file line number Diff line number Diff line change
@@ -1,35 +1,15 @@
import React from 'react';
import { ActionSheetProvider } from '@expo/react-native-action-sheet';
// Application entry. Mounts the stack defined in src/routes.

import {
useFonts,
Nunito_400Regular,
Nunito_600SemiBold,
Nunito_700Bold,
Nunito_800ExtraBold,
} from '@expo-google-fonts/nunito';

import AppStack from './src/routes/AppStack';
import { StatusBar } from 'expo-status-bar';
import React from "react";
import { StatusBar } from "expo-status-bar";
import AppRoutes from "./src/routes";

export default function App() {
const [fontsLoaded] = useFonts({
Nunito_400Regular,
Nunito_600SemiBold,
Nunito_700Bold,
Nunito_800ExtraBold,
});

if (!fontsLoaded) {
return null;
} else {
return (
<>
<StatusBar animated translucent style="dark" />
<ActionSheetProvider>
<AppStack />
</ActionSheetProvider>
</>
);
}
const Routes = AppRoutes();
return (
<>
{Routes.element}
<StatusBar style="auto" />
</>
);
}
Loading