Skip to content

Commit 5a96d65

Browse files
committed
Changed navigation tab titles to Chat and Settings and updated their icons
1 parent 0067433 commit 5a96d65

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

client/app/navigation/AppNavigator.tsx

+6-6
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ import { SocketProvider } from "../contexts/SocketContext";
77
import { NearbyUsersProvider } from "../contexts/NearbyUserContext";
88
import ChatScreen from "../screens/chat/ChatScreen";
99
import SettingsScreen from "../screens/settings/SettingsScreen";
10-
import { Home } from "react-native-feather";
11-
import { User } from "react-native-feather";
10+
import { MessageSquare } from "react-native-feather";
11+
import { Settings } from "react-native-feather";
1212
import { NavigationContainer, NavigationIndependentTree } from "@react-navigation/native";
1313

1414
const Tab = createBottomTabNavigator();
@@ -28,20 +28,20 @@ const AppNavigator = () => {
2828
tabBarHideOnKeyboard: true,
2929
}}>
3030
<Tab.Screen
31-
name="Home"
31+
name="Chat"
3232
component={ChatScreen}
3333
options={{
3434
tabBarIcon: ({ focused, color, size }) => {
35-
return <Home width={size} stroke={color} />;
35+
return <MessageSquare width={size} stroke={color} />;
3636
},
3737
}}
3838
/>
3939
<Tab.Screen
40-
name="Profile"
40+
name="Settings"
4141
component={SettingsScreen}
4242
options={{
4343
tabBarIcon: ({ focused, color, size }) => {
44-
return <User width={size} stroke={color} />;
44+
return <Settings width={size} stroke={color} />;
4545
},
4646
}}
4747
/>

0 commit comments

Comments
 (0)