From 3b7bf256d83e1898642c2aab9072ffbeec8cc032 Mon Sep 17 00:00:00 2001 From: Ashm Walia <40498934+ashmgarv@users.noreply.github.com> Date: Mon, 14 Dec 2020 16:02:09 -0800 Subject: [TMA - 426] Fix recent search + Add refresh control (#138) * Got rid of small lint errors before start * Final push * Final * disable scroll first try / logic * small change * Try to make the cover photo consistent with different screen sizes * Final change * added RefreshControl * removed scale effect * Fix misorientation of cover * remove more scale stuff * fix userIDs for different views * Mend refresh control * white bg Co-authored-by: hsalhab --- src/screens/profile/ProfileScreen.tsx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/screens') diff --git a/src/screens/profile/ProfileScreen.tsx b/src/screens/profile/ProfileScreen.tsx index a2a1b5bd..1b9a1049 100644 --- a/src/screens/profile/ProfileScreen.tsx +++ b/src/screens/profile/ProfileScreen.tsx @@ -1,12 +1,11 @@ -import React, {useContext, useEffect, useState} from 'react'; +import React from 'react'; import {StatusBar} from 'react-native'; import Animated from 'react-native-reanimated'; import {Content, Cover, TabsGradient} from '../../components'; import {RouteProp, useFocusEffect} from '@react-navigation/native'; -import {ProfileStackParams, ProfileProvider} from '../../routes/'; +import {ProfileStackParams} from '../../routes/'; import {resetScreenType} from '../../store/actions'; import {useDispatch, useStore} from 'react-redux'; -import {ScreenType} from '../../types'; import {DUMMY_USERID} from '../../store/initialStates'; /**r @@ -48,7 +47,6 @@ const ProfileScreen: React.FC = ({route}) => { return ( <> - -- cgit v1.2.3-70-g09d2