From 17fbfa29c1b78703b872221e3b590aca3ef5cf7e Mon Sep 17 00:00:00 2001 From: Husam Salhab <47015061+hsalhab@users.noreply.github.com> Date: Mon, 26 Oct 2020 18:42:02 -0400 Subject: [TMA-13] List of following (#72) * move async-storage * removed lock files * added lock files to gitignore * added the wrong file to gitignore * added following list * added numFollowers; removed redundant code * removed followercount stuff for now * Fixed follower count * Made come more changes Co-authored-by: Ashm Walia --- src/routes/profile/ProfileStack.tsx | 3 ++- src/routes/viewProfile/ProfileProvider.tsx | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'src/routes') diff --git a/src/routes/profile/ProfileStack.tsx b/src/routes/profile/ProfileStack.tsx index 0cb20f75..d85f003e 100644 --- a/src/routes/profile/ProfileStack.tsx +++ b/src/routes/profile/ProfileStack.tsx @@ -27,7 +27,8 @@ export type ProfileStackParams = { isProfileView: boolean; }; FollowersListScreen: { - isProfileView: boolean; + isProfileView: boolean, + isFollowers: boolean; }; }; diff --git a/src/routes/viewProfile/ProfileProvider.tsx b/src/routes/viewProfile/ProfileProvider.tsx index c4942ea0..0600b65b 100644 --- a/src/routes/viewProfile/ProfileProvider.tsx +++ b/src/routes/viewProfile/ProfileProvider.tsx @@ -116,6 +116,9 @@ const ProfileProvider: React.FC = ({children}) => { updateMoments: (value) => { setNewMomentsAvailable(value); }, + socialsNeedUpdate: (socials: string[]) => { + setSocialsNeedUpdate(socials); + }, }}> {children} -- cgit v1.2.3-70-g09d2