Skip to content

Commit

Permalink
Header Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
tzits authored Jan 19, 2023
1 parent c146b51 commit 701050c
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions App.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import { init } from './utils/database';
import { Ionicons } from '@expo/vector-icons'



export default function App() {
const [dbInit, setdbInit] = useState(false)

Expand Down Expand Up @@ -52,14 +53,11 @@ export default function App() {
>
<BottomTab.Screen
name="Home"
component={WelcomeScreen}
component={WelcomeScreen}
/>
<BottomTab.Screen name="Submit Birds" component={SubmitBirdsScreen} options={homeButton} />
<BottomTab.Screen
name="Find Birds"
component={FindBirdsScreen}
options={homeButton}
/>
<BottomTab.Screen name="Submit Bird" component={SubmitBirdsScreen} options={homeButton} />
name="Find Birds" component={FindBirdsScreen} options={homeButton} />
<BottomTab.Screen name="Bird List" component={SeenBirdsScreen} options={homeButton} />
</BottomTab.Navigator>)
}
Expand All @@ -84,8 +82,8 @@ export default function App() {
component={DisplayBirds}
options={homeButton}
/>
<Stack.Screen name="Map" component={Map} />
<Stack.Screen name="BirdDetails" component={BirdDetails} options={{presentation: 'modal'}} />
<Stack.Screen name="Pick Location" component={Map} />
<Stack.Screen name="Bird Details" component={BirdDetails} options={{presentation: 'modal'}} />
</Stack.Navigator>
</NavigationContainer>
</>
Expand Down

0 comments on commit 701050c

Please sign in to comment.