This commit is contained in:
Diego Mello 2022-12-05 09:34:53 -03:00
parent 87a5793f24
commit c867f2928f
1 changed files with 1 additions and 0 deletions

View File

@ -105,6 +105,7 @@ const Drawer = createDrawerNavigator<MasterDetailDrawerParamList>();
const DrawerNavigator = React.memo(() => (
<Drawer.Navigator
screenOptions={{ drawerType: 'permanent', headerShown: false, drawerStyle: { ...drawerStyle } }}
// @ts-ignore
drawerContent={({ navigation, state }) => <RoomsListView navigation={navigation} state={state} />}
>
<Drawer.Screen name='ChatsStackNavigator' component={ChatsStackNavigator} />