diff options
| author | Ashm Walia <40498934+ashmgarv@users.noreply.github.com> | 2020-12-30 11:36:44 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-12-30 14:36:44 -0500 |
| commit | 38661e00281363b0f4ad32f0b29d739e1ca09164 (patch) | |
| tree | 316cd837b6cc6ae24783f1d93d6c9ee7fb898f68 /src/routes | |
| parent | bd2f89805d0bb1c2f1d08fe8d91099aa4f109d35 (diff) | |
[TMA - 457]Change followers to friends (#149)
* One commit to replace followers with friends
* Move block unblock to drawer and some cosmetic changes
* Options to edit own profile when viewing
* Changes for University Class
* Small fix
* Made ProfileOnboarding a scroll view and other small changes
* Small fix
* Small fix thanks to ivan and tanmay
* Add ?
Diffstat (limited to 'src/routes')
| -rw-r--r-- | src/routes/main/MainStackNavigator.tsx | 3 | ||||
| -rw-r--r-- | src/routes/main/MainStackScreen.tsx | 6 |
2 files changed, 4 insertions, 5 deletions
diff --git a/src/routes/main/MainStackNavigator.tsx b/src/routes/main/MainStackNavigator.tsx index c156c725..4614168b 100644 --- a/src/routes/main/MainStackNavigator.tsx +++ b/src/routes/main/MainStackNavigator.tsx @@ -32,8 +32,7 @@ export type MainStackParams = { userXId: string | undefined; screenType: ScreenType; }; - FollowersListScreen: { - isFollowers: boolean; + FriendsListScreen: { userXId: string | undefined; screenType: ScreenType; }; diff --git a/src/routes/main/MainStackScreen.tsx b/src/routes/main/MainStackScreen.tsx index cd053bde..bf643fd8 100644 --- a/src/routes/main/MainStackScreen.tsx +++ b/src/routes/main/MainStackScreen.tsx @@ -6,9 +6,9 @@ import { SearchScreen, ProfileScreen, MomentCommentsScreen, - FollowersListScreen, EditProfile, CategorySelection, + FriendsListScreen, NotificationsScreen, } from '../../screens'; import {MainStack, MainStackParams} from './MainStackNavigator'; @@ -157,8 +157,8 @@ const MainStackScreen: React.FC<MainStackProps> = ({route}) => { initialParams={{screenType}} /> <MainStack.Screen - name="FollowersListScreen" - component={FollowersListScreen} + name="FriendsListScreen" + component={FriendsListScreen} options={{ ...modalStyle, }} |
