From 80a5b47d9fef940604d729ff5c428e16aa4be37a Mon Sep 17 00:00:00 2001 From: Kingsley-swe <71396041+Kingsley-swe@users.noreply.github.com> Date: Sat, 24 Oct 2020 20:52:28 -0400 Subject: [TMA 27] Followers list (#69) * "Followers list " * Mended followers list * fix export error Co-authored-by: Ashm Walia Co-authored-by: Husam Salhab <47015061+hsalhab@users.noreply.github.com> --- src/routes/profile/Profile.tsx | 6 ++++++ src/routes/profile/ProfileStack.tsx | 3 +++ 2 files changed, 9 insertions(+) (limited to 'src/routes') diff --git a/src/routes/profile/Profile.tsx b/src/routes/profile/Profile.tsx index 8ab8ecde..e0a34f5b 100644 --- a/src/routes/profile/Profile.tsx +++ b/src/routes/profile/Profile.tsx @@ -6,6 +6,7 @@ import { SearchScreen, ProfileScreen, MomentCommentsScreen, + FollowersListScreen, } from '../../screens'; import {ProfileStack, ProfileStackParams} from './ProfileStack'; import {RouteProp} from '@react-navigation/native'; @@ -102,6 +103,11 @@ const Profile: React.FC = ({route}) => { options={{headerShown: false}} initialParams={{isProfileView: isProfileView}} /> + ); }; diff --git a/src/routes/profile/ProfileStack.tsx b/src/routes/profile/ProfileStack.tsx index 6d875e81..0cb20f75 100644 --- a/src/routes/profile/ProfileStack.tsx +++ b/src/routes/profile/ProfileStack.tsx @@ -26,6 +26,9 @@ export type ProfileStackParams = { ProfileView: { isProfileView: boolean; }; + FollowersListScreen: { + isProfileView: boolean; + }; }; export const ProfileStack = createStackNavigator(); -- cgit v1.2.3-70-g09d2