Commit c9995092 by G

render the transactions screen when on the tab

parent eb29379b
import { Entypo, FontAwesome, Ionicons } from "@expo/vector-icons"; import { Entypo, FontAwesome, Ionicons } from "@expo/vector-icons";
import { createBottomTabNavigator } from "@react-navigation/bottom-tabs"; import { createBottomTabNavigator } from "@react-navigation/bottom-tabs";
import TransactionHistoryScreen from "@screens/TransactionHistoryScreen";
import { useTheme } from "@shopify/restyle"; import { useTheme } from "@shopify/restyle";
// import palette // import palette
import type { Theme } from "@themes/Theme"; import type { Theme } from "@themes/Theme";
...@@ -29,7 +30,7 @@ export const AppBottomTabsNavigator = () => { ...@@ -29,7 +30,7 @@ export const AppBottomTabsNavigator = () => {
/> />
<Tab.Screen <Tab.Screen
name="Transactions" name="Transactions"
component={Transactions} component={TransactionHistoryScreen}
options={{ options={{
tabBarIcon: ({ color, size }) => ( tabBarIcon: ({ color, size }) => (
<FontAwesome name="exchange" size={size} color={color} /> <FontAwesome name="exchange" 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