Skip to content

Commit

Permalink
use styles
Browse files Browse the repository at this point in the history
  • Loading branch information
kosmydel committed Jan 8, 2024
1 parent d87b676 commit 730f793
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import PropTypes from 'prop-types';
import React from 'react';
import {View} from 'react-native';
import ScreenWrapper from '@components/ScreenWrapper';
import useThemeStyles from '@hooks/useThemeStyles';
import type {NavigationStateRoute} from '@libs/Navigation/types';
import SCREENS from '@src/SCREENS';
import BottomTabBar from './BottomTabBar';
Expand Down Expand Up @@ -58,11 +59,12 @@ function CustomBottomTabNavigator({initialRouteName, children, screenOptions, ..
initialRouteName,
});

const styles = useThemeStyles();
const stateToRender = getStateToRender(state);

return (
<ScreenWrapper testID={CustomBottomTabNavigator.displayName}>
<View style={{flex: 1}}>
<View style={styles.flex1}>
<TopBar />
<NavigationContent>
<StackView
Expand Down

0 comments on commit 730f793

Please sign in to comment.