From 7361492c3d25f71bb444f5f7e35b3113647318f9 Mon Sep 17 00:00:00 2001 From: Shravya Ramesh Date: Mon, 1 Feb 2021 22:02:25 -0800 Subject: fullscreen friends + unfriend button --- src/screens/profile/FriendsListScreen.tsx | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) (limited to 'src/screens') diff --git a/src/screens/profile/FriendsListScreen.tsx b/src/screens/profile/FriendsListScreen.tsx index ac3504d5..7ef5d752 100644 --- a/src/screens/profile/FriendsListScreen.tsx +++ b/src/screens/profile/FriendsListScreen.tsx @@ -1,8 +1,7 @@ -import React, {useState} from 'react'; +import React from 'react'; import {RouteProp, useNavigation} from '@react-navigation/native'; -import {TabsGradient, Friends, CenteredView} from '../../components'; -import {ScrollView} from 'react-native-gesture-handler'; -import {SCREEN_HEIGHT, SCREEN_WIDTH} from '../../utils'; +import {TabsGradient, Friends} from '../../components'; +import {normalize, SCREEN_HEIGHT, SCREEN_WIDTH} from '../../utils'; import { SafeAreaView, StyleSheet, @@ -11,8 +10,6 @@ import { View, } from 'react-native'; import {ProfileStackParams} from '../../routes'; -import {ProfilePreviewType} from '../../types'; -import {EMPTY_PROFILE_PREVIEW_LIST} from '../../store/initialStates'; import {useSelector} from 'react-redux'; import {RootState} from '../../store/rootReducer'; import BackIcon from '../../assets/icons/back-arrow.svg'; @@ -47,7 +44,7 @@ const FriendsListScreen: React.FC = ({route}) => { Friends - + @@ -88,7 +85,7 @@ const styles = StyleSheet.create({ headerText: { position: 'absolute', alignSelf: 'center', - fontSize: 20.5, + fontSize: normalize(20.5), fontWeight: '600', }, headerButton: { -- cgit v1.2.3-70-g09d2