i want to build a built a navigation with `BottomTabNavigator` but i dont know what happen i never see the body of my screens, something is hidding the body, i created a demo to demostrate you the wrong, but its too simple.

this is the file App.js

```
import React from 'react'
//import { Provider } from 'react-native-paper'
import { Provider, useSelector } from 'react-redux'
import { createStore } from 'redux'
import { NavigationContainer } from '@react-navigation/native'
import { View, Text } from 'react-native'
import { createStackNavigator } from '@react-navigation/stack'
import { createBottomTabNavigator } from '@react-navigation/bottom-tabs'

const Stack = createStackNavigator()

function HomeScreen() {
  return (
    <View
      style={{
        flexDirection: 'row',
        height: 100,
        padding: 20,
      }}
    >
      <View style={{ backgroundColor: 'blue', flex: 0.3 }} />
      <View style={{ backgroundColor: 'red', flex: 0.5 }} />
      <Text>Hello World!</Text>
    </View>
  )
}

function SettingsScreen() {
  return (
    <View
      style={{
        backgroundColor: 'red',
        flex: 1,
        color: 'green',
        justifyContent: 'center',
        alignItems: 'center',
      }}
    >
      <Text>Settings!</Text>
    </View>
  )
}

const Tab = createBottomTabNavigator()

function MyTabs() {
  return (
    <Tab.Navigator>
      <Tab.Screen name="Home" component={HomeScreen} />
      <Tab.Screen name="Settings" component={SettingsScreen} />
    </Tab.Navigator>
  );
}

export default function App() {
  return (
    <NavigationContainer>
      <Stack.Navigator initialRouteName="main">
        <Stack.Screen name="loginScreen" component={SettingsScreen} />
        <Stack.Screen name="main" component={MyTabs} />
      </Stack.Navigator>
    </NavigationContainer>
  )
}

```

i am trying to do, before to user is logged i would like to hidde the tabs

something is hidding

[![enter image description here](https://i.stack.imgur.com/1Lvh9.gif)](https://i.stack.imgur.com/1Lvh9.gif)

edit 1: why i have 2 headers?

[![enter image description here](https://i.stack.imgur.com/YmLOr.png)](https://i.stack.imgur.com/YmLOr.png)