Commit da1d796a by G

set the correct screen for the profile tabs for the bottomTabs navigator

parent 761ab6be
import { Entypo, FontAwesome, Ionicons } from "@expo/vector-icons";
import { createBottomTabNavigator } from "@react-navigation/bottom-tabs";
import TransactionHistoryScreen from "@screens/TransactionHistoryScreen";
import UserProfileScreen from "@screens/UserProfileScreen";
import { useTheme } from "@shopify/restyle";
// import palette
import type { Theme } from "@themes/Theme";
......@@ -50,7 +51,7 @@ export const AppBottomTabsNavigator = () => {
/>
<Tab.Screen
name="Profile"
component={ProfileScreen}
component={UserProfileScreen}
options={{
tabBarIcon: ({ color, size }) => (
<Ionicons name="person" size={size} color={color} />
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment