diff --git a/app/navigation/BottomTabBar.tsx b/app/navigation/BottomTabBar.tsx index 9af3d63..2088eb1 100644 --- a/app/navigation/BottomTabBar.tsx +++ b/app/navigation/BottomTabBar.tsx @@ -93,7 +93,7 @@ const BottomTabBar: React.FC = ({ state, descriptors, navigat label={label} name={route.name} isFocused={state.index === index} - img={icons[options.icon]} + img={icons[route.name]} navigation={navigation} /> ) diff --git a/app/navigation/BottomTabNavigator.tsx b/app/navigation/BottomTabNavigator.tsx index b7403da..11f14e0 100644 --- a/app/navigation/BottomTabNavigator.tsx +++ b/app/navigation/BottomTabNavigator.tsx @@ -107,10 +107,10 @@ const Tab = createBottomTabNavigator() const BottomTabNavigator = () => { return ( - - - - + + + + ) } diff --git a/app/navigation/LibraryTopTabNavigator.tsx b/app/navigation/LibraryTopTabNavigator.tsx index 9140c6f..24ea6d5 100644 --- a/app/navigation/LibraryTopTabNavigator.tsx +++ b/app/navigation/LibraryTopTabNavigator.tsx @@ -18,9 +18,9 @@ const LibraryTopTabNavigator = () => ( indicatorStyle: styles.tabindicatorStyle, }} initialRouteName="albums"> - - - + + + )