mirror of
https://github.com/inaturalist/iNaturalistReactNative.git
synced 2025-12-23 22:18:36 -05:00
use hideHeader
This commit is contained in:
@@ -6,6 +6,7 @@ import * as React from "react";
|
||||
import { useOnboardingShown } from "sharedHelpers/installData";
|
||||
|
||||
import BottomTabNavigator from "./BottomTabNavigator";
|
||||
import { hideHeader } from "./navigationOptions";
|
||||
|
||||
const Stack = createNativeStackNavigator( );
|
||||
|
||||
@@ -17,7 +18,7 @@ const RootStackNavigator = ( ) => {
|
||||
const [onboardingShown] = useOnboardingShown( );
|
||||
|
||||
return (
|
||||
<Stack.Navigator screenOptions={{ headerShown: false }}>
|
||||
<Stack.Navigator screenOptions={{ ...hideHeader }}>
|
||||
{!onboardingShown
|
||||
? (
|
||||
<Stack.Screen
|
||||
|
||||
Reference in New Issue
Block a user