From 38661e00281363b0f4ad32f0b29d739e1ca09164 Mon Sep 17 00:00:00 2001 From: Ashm Walia <40498934+ashmgarv@users.noreply.github.com> Date: Wed, 30 Dec 2020 11:36:44 -0800 Subject: [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 ? --- src/routes/main/MainStackNavigator.tsx | 3 +-- src/routes/main/MainStackScreen.tsx | 6 +++--- 2 files changed, 4 insertions(+), 5 deletions(-) (limited to 'src/routes') 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 = ({route}) => { initialParams={{screenType}} />