aboutsummaryrefslogtreecommitdiff
path: root/src/screens
diff options
context:
space:
mode:
Diffstat (limited to 'src/screens')
-rw-r--r--src/screens/search/DiscoverUsers.tsx5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/screens/search/DiscoverUsers.tsx b/src/screens/search/DiscoverUsers.tsx
index a1b3322a..e570edce 100644
--- a/src/screens/search/DiscoverUsers.tsx
+++ b/src/screens/search/DiscoverUsers.tsx
@@ -2,7 +2,7 @@ import React, {useEffect, useState} from 'react';
import {FlatList, StatusBar, StyleSheet} from 'react-native';
import {Text} from 'react-native-animatable';
import {SafeAreaView} from 'react-native-safe-area-context';
-import {HeaderHeight, SCREEN_WIDTH} from '../../utils';
+import {HeaderHeight, SCREEN_HEIGHT, SCREEN_WIDTH} from '../../utils';
import {SearchBackground, TabsGradient} from '../../components';
import {RouteProp} from '@react-navigation/native';
import {MainStackParams} from '../../routes';
@@ -67,6 +67,7 @@ const styles = StyleSheet.create({
scrollView: {
top: HeaderHeight,
width: SCREEN_WIDTH * 0.95,
+ height: SCREEN_HEIGHT - HeaderHeight,
alignSelf: 'center',
flexDirection: 'column',
},
@@ -79,7 +80,7 @@ const styles = StyleSheet.create({
},
contentContainerStyle: {
width: SCREEN_WIDTH * 0.95,
- paddingBottom: 30,
+ paddingBottom: SCREEN_HEIGHT * 0.2,
},
});