Skip to content

Commit

Permalink
ref: swap about and map tab buttons in bottom navigation
Browse files Browse the repository at this point in the history
  • Loading branch information
antoKeinanen committed Jul 18, 2024
1 parent f8c1de5 commit 905dbd3
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions app/(tabs)/_layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,23 +22,23 @@ export default function TabLayout() {
}}
/>
<Tabs.Screen
name='about'
name='map'
options={{
tabBarIcon: ({ color, focused }) => (
<TabBarIcon
name={focused ? 'information-circle' : 'information-circle-outline'}
color={color}
/>
<TabBarIcon name={focused ? 'map' : 'map-outline'} color={color} />
),
unmountOnBlur: true,
}}
/>
<Tabs.Screen
name='map'
name='about'
options={{
tabBarIcon: ({ color, focused }) => (
<TabBarIcon name={focused ? 'map' : 'map-outline'} color={color} />
<TabBarIcon
name={focused ? 'information-circle' : 'information-circle-outline'}
color={color}
/>
),
unmountOnBlur: true,
}}
/>
<Tabs.Screen
Expand Down

0 comments on commit 905dbd3

Please sign in to comment.